aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-09-04 22:04:53 +0000
committerGunter Knauf <gk@gknw.de>2008-09-04 22:04:53 +0000
commit9c36a5fd06343b6b9cdf80db387b20271612a356 (patch)
tree6003c8d7afbdeae629a51f875a274c52d14ec220 /lib/config-win32.h
parent4558c8f37a5cd1926d2fbda8df83ee63d869bd18 (diff)
fixed largefile feature for MingW32 non-configure builds.
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