From: Gunter Knauf Date: Thu, 4 Sep 2008 22:04:53 +0000 (+0000) Subject: fixed largefile feature for MingW32 non-configure builds. X-Git-Tag: curl-7_19_1~417 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c36a5fd06343b6b9cdf80db387b20271612a356;p=curl fixed largefile feature for MingW32 non-configure builds. --- 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