aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index a0c0bf5b2..e43c88e34 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -402,6 +402,10 @@
# endif
#endif
+#if defined(__MINGW32__) && !defined(USE_WIN32_LARGE_FILES)
+# define USE_WIN32_LARGE_FILES
+#endif
+
#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
# define USE_WIN32_SMALL_FILES
#endif