summaryrefslogtreecommitdiff
path: root/src/win32/mingw-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/mingw-compat.h')
-rw-r--r--src/win32/mingw-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h
index 7b97b48db..8f51d6f5a 100644
--- a/src/win32/mingw-compat.h
+++ b/src/win32/mingw-compat.h
@@ -11,7 +11,9 @@
/* use a 64-bit file offset type */
# define lseek _lseeki64
+# undef stat
# define stat _stati64
+# undef fstat
# define fstat _fstati64
/* stat: file mode type testing macros */