xref: /aosp_15_r20/external/cronet/third_party/libxml/src/include/win32config.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 #ifndef __LIBXML_WIN32_CONFIG__
2 #define __LIBXML_WIN32_CONFIG__
3 
4 #define HAVE_SYS_STAT_H
5 #define HAVE_STAT
6 #define HAVE_FCNTL_H
7 
8 #if defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER >= 1600)
9   #define HAVE_STDINT_H
10 #endif
11 
12 #if defined(_MSC_VER)
13   #if _MSC_VER < 1900
14     #define snprintf _snprintf
15   #endif
16   #if _MSC_VER < 1500
17     #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
18   #endif
19 #endif
20 
21 #endif /* __LIBXML_WIN32_CONFIG__ */
22 
23