From a1daec3c535a0539b3e59e9aecfca20fd9a40e59 Mon Sep 17 00:00:00 2001 From: Jacques Germishuys Date: Mon, 29 Dec 2014 18:11:33 +0200 Subject: [PATCH] Undef stat first --- src/win32/mingw-compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h index 83ee28765..feedfecf4 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