mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
62 lines
1.4 KiB
C
62 lines
1.4 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__
|
|
|
|
/*
|
|
* These macros must be defined before including system headers.
|
|
* Do not add any #include directives above this block.
|
|
*/
|
|
#ifndef NO_LARGEFILE_SOURCE
|
|
#ifndef _LARGEFILE_SOURCE
|
|
#define _LARGEFILE_SOURCE
|
|
#endif
|
|
#ifndef _FILE_OFFSET_BITS
|
|
#define _FILE_OFFSET_BITS 64
|
|
#endif
|
|
#endif
|
|
|
|
/*
|
|
* These files are generated by the build system and contain private
|
|
* and public build configuration.
|
|
*/
|
|
#include "win32config.h"
|
|
#include <libxml/xmlversion.h>
|
|
|
|
/*
|
|
* Due to some Autotools limitations, this variable must be passed as
|
|
* compiler flag. Define a default value if the macro wasn't set by the
|
|
* build system.
|
|
*/
|
|
#ifndef SYSCONFDIR
|
|
#define SYSCONFDIR "/etc"
|
|
#endif
|
|
|
|
#ifdef WITH_TRIO
|
|
#define TRIO_REPLACE_STDIO
|
|
#include "trio.h"
|
|
#endif
|
|
|
|
#if !defined(_WIN32) && \
|
|
!defined(__CYGWIN__) && \
|
|
(defined(__clang__) || \
|
|
(defined(__GNUC__) && (__GNUC__ >= 4)))
|
|
#define XML_HIDDEN __attribute__((visibility("hidden")))
|
|
#else
|
|
#define XML_HIDDEN
|
|
#endif
|
|
|
|
#if defined(__clang__) || \
|
|
(defined(__GNUC__) && (__GNUC__ >= 8))
|
|
#define ATTRIBUTE_NO_SANITIZE(arg) __attribute__((no_sanitize(arg)))
|
|
#else
|
|
#define ATTRIBUTE_NO_SANITIZE(arg)
|
|
#endif
|
|
|
|
#endif /* ! __XML_LIBXML_H__ */
|