aboutsummaryrefslogtreecommitdiff
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
parent4558c8f37a5cd1926d2fbda8df83ee63d869bd18 (diff)
fixed largefile feature for MingW32 non-configure builds.
-rw-r--r--lib/config-win32.h4
-rw-r--r--src/config-win32.h4
2 files changed, 8 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
diff --git a/src/config-win32.h b/src/config-win32.h
index 654d892d8..cafc14576 100644
--- a/src/config-win32.h
+++ b/src/config-win32.h
@@ -247,6 +247,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