1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/libxml.h

50 lines
1.1 KiB
C
Raw Normal View History

2001-04-21 20:57:29 +04:00
/*
* 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__)
2001-04-21 20:57:29 +04:00
#include "win32config.h"
#elif defined(macintosh)
#include "config-mac.h"
2001-04-21 20:57:29 +04:00
#else
#include "config.h"
#include <libxml/xmlversion.h>
#endif
2001-04-21 20:57:29 +04:00
#ifndef WITH_TRIO
2001-04-21 20:57:29 +04:00
#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.
*/
2001-04-21 20:57:29 +04:00
#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;
2001-04-21 20:57:29 +04:00
#endif /* ! __XML_LIBXML_H__ */