mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-02-03 00:45:00 +00:00
8de85c6c00
* libxml.h: try to avoid problems when compiling on Windows Daniel
38 lines
731 B
C
38 lines
731 B
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 IN_LIBXML
|
|
#define IN_LIBXML
|
|
#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
|
|
|
|
#endif /* ! __XML_LIBXML_H__ */
|