Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: third_party/libxml/src/libxml.h

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libxml/src/legacy.c ('k') | third_party/libxml/src/libxml.3 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__ */
« no previous file with comments | « third_party/libxml/src/legacy.c ('k') | third_party/libxml/src/libxml.3 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698