| Index: third_party/libxml/src/libxml.h
|
| diff --git a/third_party/libxml/src/libxml.h b/third_party/libxml/src/libxml.h
|
| index f8a368c5892b293851b872798181b9c231aea9be..2da9044ef659ec9ee2b55728b649187ccf5fd901 100644
|
| --- a/third_party/libxml/src/libxml.h
|
| +++ b/third_party/libxml/src/libxml.h
|
| @@ -17,9 +17,6 @@
|
| #define _FILE_OFFSET_BITS 64
|
| #endif
|
| #endif
|
| -#ifndef _CRT_NO_POSIX_ERROR_CODES
|
| -#define _CRT_NO_POSIX_ERROR_CODES
|
| -#endif
|
|
|
| #if defined(macintosh)
|
| #include "config-mac.h"
|
| @@ -32,6 +29,11 @@
|
| #include <win32config.h>
|
| #include <libxml/xmlversion.h>
|
| #else
|
| +/*
|
| + * Currently supported platforms use either autoconf or
|
| + * copy to config.h own "preset" configuration file.
|
| + * As result ifdef HAVE_CONFIG_H is omited here.
|
| + */
|
| #include "config.h"
|
| #include <libxml/xmlversion.h>
|
| #endif
|
| @@ -82,6 +84,17 @@ void __xmlGlobalInitMutexLock(void);
|
| void __xmlGlobalInitMutexUnlock(void);
|
| void __xmlGlobalInitMutexDestroy(void);
|
|
|
| +int __xmlInitializeDict(void);
|
| +
|
| +#if defined(HAVE_RAND) && defined(HAVE_SRAND) && defined(HAVE_TIME)
|
| +/*
|
| + * internal thread safe random function
|
| + */
|
| +int __xmlRandom(void);
|
| +#endif
|
| +
|
| +int xmlNop(void);
|
| +
|
| #ifdef IN_LIBXML
|
| #ifdef __GNUC__
|
| #ifdef PIC
|
| @@ -93,7 +106,7 @@ void __xmlGlobalInitMutexDestroy(void);
|
| #endif
|
| #endif
|
| #endif
|
| -#ifndef PIC
|
| +#if !defined(PIC) && !defined(NOLIBTOOL)
|
| # define LIBXML_STATIC
|
| #endif
|
| #endif /* ! __XML_LIBXML_H__ */
|
|
|