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

Side by Side Diff: third_party/libxml/win32/config.h

Issue 1977213002: Roll libxml to 8effcb578e0590cc01bbcab0f9dccefc6bdbcdbd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update README.chromium. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 #ifndef __LIBXML_WIN32_CONFIG__ 1 #ifndef __LIBXML_WIN32_CONFIG__
2 #define __LIBXML_WIN32_CONFIG__ 2 #define __LIBXML_WIN32_CONFIG__
3 3
4 #define HAVE_CTYPE_H 4 #define HAVE_CTYPE_H
5 #define HAVE_STDARG_H 5 #define HAVE_STDARG_H
6 #define HAVE_MALLOC_H 6 #define HAVE_MALLOC_H
7 #define HAVE_ERRNO_H 7 #define HAVE_ERRNO_H
8 #define HAVE_STDINT_H 8 #define HAVE_STDINT_H
9 9
10 #if defined(_WIN32_WCE) 10 #if defined(_WIN32_WCE)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 89 }
90 } else { 90 } else {
91 return 0; 91 return 0;
92 } 92 }
93 } 93 }
94 #endif 94 #endif
95 #endif /* _MSC_VER */ 95 #endif /* _MSC_VER */
96 96
97 #if defined(_MSC_VER) 97 #if defined(_MSC_VER)
98 #define mkdir(p,m) _mkdir(p) 98 #define mkdir(p,m) _mkdir(p)
99 #if _MSC_VER < 1900 99 #if _MSC_VER < 1900 // Cannot define this in VS 2015 and above!
100 #define snprintf _snprintf 100 #define snprintf _snprintf
101 #endif 101 #endif
102 #if _MSC_VER < 1500 102 #if _MSC_VER < 1500
103 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) 103 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
104 #endif 104 #endif
105 #elif defined(__MINGW32__) 105 #elif defined(__MINGW32__)
106 #define mkdir(p,m) _mkdir(p) 106 #define mkdir(p,m) _mkdir(p)
107 #endif 107 #endif
108 108
109 /* Threading API to use should be specified here for compatibility reasons. 109 /* Threading API to use should be specified here for compatibility reasons.
110 This is however best specified on the compiler's command-line. */ 110 This is however best specified on the compiler's command-line. */
111 #if defined(LIBXML_THREAD_ENABLED) 111 #if defined(LIBXML_THREAD_ENABLED)
112 #if !defined(HAVE_PTHREAD_H) && !defined(HAVE_WIN32_THREADS) && !defined(_WIN32_ WCE) 112 #if !defined(HAVE_PTHREAD_H) && !defined(HAVE_WIN32_THREADS) && !defined(_WIN32_ WCE)
113 #define HAVE_WIN32_THREADS 113 #define HAVE_WIN32_THREADS
114 #endif 114 #endif
115 #endif 115 #endif
116 116
117 /* Some third-party libraries far from our control assume the following 117 /* Some third-party libraries far from our control assume the following
118 is defined, which it is not if we don't include windows.h. */ 118 is defined, which it is not if we don't include windows.h. */
119 #if !defined(FALSE) 119 #if !defined(FALSE)
120 #define FALSE 0 120 #define FALSE 0
121 #endif 121 #endif
122 #if !defined(TRUE) 122 #if !defined(TRUE)
123 #define TRUE (!(FALSE)) 123 #define TRUE (!(FALSE))
124 #endif 124 #endif
125 125
126 #endif /* __LIBXML_WIN32_CONFIG__ */ 126 #endif /* __LIBXML_WIN32_CONFIG__ */
127 127
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698