Commit 4ceb388b13da61539f3b9df561c6050a0c5b6c31

Edward Thomson 2014-12-29T14:22:36

Merge pull request #2784 from jacquesg/undef-stat Undef stat for Mingw

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h
index 83ee287..feedfec 100644
--- a/src/win32/mingw-compat.h
+++ b/src/win32/mingw-compat.h
@@ -9,6 +9,8 @@
 
 #if defined(__MINGW32__)
 
+#undef stat
+
 #if _WIN32_WINNT >= 0x0601
 #define stat __stat64
 #else