mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-28 17:47:00 +03:00
a880b12475
* globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c xmlreader.c include/libxml/parser.h: a lot of performance work especially the speed of streaming through the reader and push interface. Some thread related optimizations. Nearly doubled the speed of parsing through the reader. Daniel
50 lines
1.1 KiB
C
50 lines
1.1 KiB
C
/*
|
|
* libxml.h: internal header only used during the compilation of libxml
|
|
*
|
|
* See COPYRIGHT for the status of this software
|
|
*
|
|
* Author: breese@users.sourceforge.net
|
|
*/
|
|
|
|
#ifndef __XML_LIBXML_H__
|
|
#define __XML_LIBXML_H__
|
|
|
|
#ifndef NO_LARGEFILE_SOURCE
|
|
#ifndef _LARGEFILE_SOURCE
|
|
#define _LARGEFILE_SOURCE
|
|
#endif
|
|
#ifndef _FILE_OFFSET_BITS
|
|
#define _FILE_OFFSET_BITS 64
|
|
#endif
|
|
#endif
|
|
|
|
#if defined(WIN32) && !defined(__CYGWIN__)
|
|
#include "win32config.h"
|
|
#elif defined(macintosh)
|
|
#include "config-mac.h"
|
|
#else
|
|
#include "config.h"
|
|
#include <libxml/xmlversion.h>
|
|
#endif
|
|
|
|
#ifndef WITH_TRIO
|
|
#include <stdio.h>
|
|
#else
|
|
/**
|
|
* TRIO_REPLACE_STDIO:
|
|
*
|
|
* This macro is defined if teh trio string formatting functions are to
|
|
* be used instead of the default stdio ones.
|
|
*/
|
|
#define TRIO_REPLACE_STDIO
|
|
#include "trio.h"
|
|
#endif
|
|
|
|
/*
|
|
* Internal variable indicating if a callback has been registered for
|
|
* node creation/destruction. It avoids spending a lot of time in locking
|
|
* function while checking if the callback exists.
|
|
*/
|
|
extern int __xmlRegisterCallbacks;
|
|
#endif /* ! __XML_LIBXML_H__ */
|