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

Side by Side Diff: third_party/libxml/src/include/win32config.h

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 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 8
9 #if defined(_WIN32_WCE) 9 #if defined(_WIN32_WCE)
10 #undef HAVE_ERRNO_H 10 #undef HAVE_ERRNO_H
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 88 }
89 } else { 89 } else {
90 return 0; 90 return 0;
91 } 91 }
92 } 92 }
93 #endif 93 #endif
94 #endif /* _MSC_VER */ 94 #endif /* _MSC_VER */
95 95
96 #if defined(_MSC_VER) 96 #if defined(_MSC_VER)
97 #define mkdir(p,m) _mkdir(p) 97 #define mkdir(p,m) _mkdir(p)
98 #if _MSC_VER < 1900
98 #define snprintf _snprintf 99 #define snprintf _snprintf
100 #endif
99 #if _MSC_VER < 1500 101 #if _MSC_VER < 1500
100 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) 102 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
101 #endif 103 #endif
102 #elif defined(__MINGW32__) 104 #elif defined(__MINGW32__)
103 #define mkdir(p,m) _mkdir(p) 105 #define mkdir(p,m) _mkdir(p)
104 #endif 106 #endif
105 107
106 /* Threading API to use should be specified here for compatibility reasons. 108 /* Threading API to use should be specified here for compatibility reasons.
107 This is however best specified on the compiler's command-line. */ 109 This is however best specified on the compiler's command-line. */
108 #if defined(LIBXML_THREAD_ENABLED) 110 #if defined(LIBXML_THREAD_ENABLED)
109 #if !defined(HAVE_PTHREAD_H) && !defined(HAVE_WIN32_THREADS) && !defined(_WIN32_ WCE) 111 #if !defined(HAVE_PTHREAD_H) && !defined(HAVE_WIN32_THREADS) && !defined(_WIN32_ WCE)
110 #define HAVE_WIN32_THREADS 112 #define HAVE_WIN32_THREADS
111 #endif 113 #endif
112 #endif 114 #endif
113 115
114 /* Some third-party libraries far from our control assume the following 116 /* Some third-party libraries far from our control assume the following
115 is defined, which it is not if we don't include windows.h. */ 117 is defined, which it is not if we don't include windows.h. */
116 #if !defined(FALSE) 118 #if !defined(FALSE)
117 #define FALSE 0 119 #define FALSE 0
118 #endif 120 #endif
119 #if !defined(TRUE) 121 #if !defined(TRUE)
120 #define TRUE (!(FALSE)) 122 #define TRUE (!(FALSE))
121 #endif 123 #endif
122 124
123 #endif /* __LIBXML_WIN32_CONFIG__ */ 125 #endif /* __LIBXML_WIN32_CONFIG__ */
124 126
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698