summaryrefslogtreecommitdiff
path: root/external/libxml2/libxml2-vc15.patch
blob: bdb9bb14db2cfa5a0f0308bfdedb192d6c082601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ur xml2.org/include/win32config.h xml2/include/win32config.h
--- misc/xml2/include/win32config.h	2015-07-04 21:35:50.600013534 +0200
+++ misc/xml2/include/win32config.h	2015-07-04 21:36:12.455015001 +0200
@@ -95,7 +95,9 @@
 
 #if defined(_MSC_VER)
 #define mkdir(p,m) _mkdir(p)
+#if _MSC_VER < 1900
 #define snprintf _snprintf
+#endif
 #if _MSC_VER < 1500
 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
 #endif