Files
MINGW-packages/mingw-w64-libxml2/0007-fix-stat-redefinition.mingw.patch
2013-11-29 15:00:07 +04:00

12 lines
399 B
Diff

--- libxml2-2.9.0/xmlIO.c.orig 2013-03-31 03:56:30 +0400
+++ libxml2-2.9.0/xmlIO.c 2013-03-31 04:09:56 +0400
@@ -59,7 +59,7 @@
# endif
#else
# ifdef HAVE__STAT
-# if defined(_WIN32) || defined (__DJGPP__) && !defined (__CYGWIN__)
+# if (defined(_WIN32) && !defined(__MINGW64_VERSION_MAJOR)) || defined (__DJGPP__) && !defined (__CYGWIN__)
# define stat _stat
# endif
# endif