Commit a1daec3c535a0539b3e59e9aecfca20fd9a40e59

Jacques Germishuys 2014-12-29T18:11:33

Undef stat first

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