diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-26 01:40:19 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-26 01:40:19 +0000 |
commit | 3e2487493ef28ea9e44931faffb04e89ed3aae8d (patch) | |
tree | 30e40bb35c060ec724fa46ef0ede265881284dfb /lib/version.c | |
parent | fdcb0cd2bce920231af8c0218fe48f276817018b (diff) | |
download | curl-3e2487493ef28ea9e44931faffb04e89ed3aae8d.tar.gz |
Use SIZEOF_OFF_T definition from config file
Diffstat (limited to 'lib/version.c')
-rw-r--r-- | lib/version.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/version.c b/lib/version.c index 5b9ccca3d..2e8f1b410 100644 --- a/lib/version.c +++ b/lib/version.c @@ -190,16 +190,8 @@ static curl_version_info_data version_info = { #ifdef HAVE_SPNEGO | CURL_VERSION_SPNEGO #endif -/* - * FIXME before 7.19.0 release. - * - * libcurl is largefile enabled when (CURL_SIZEOF_CURL_OFF_T > 4) _AND_ - * libcurl has been built with sizeof(system off_t) > 4 or when large - * file support is available even with sizeof(system off_t) <= 4. - * - * Until this is adjusted, only the (CURL_SIZEOF_CURL_OFF_T > 4) check is done. - */ -#if (CURL_SIZEOF_CURL_OFF_T > 4) +#if (CURL_SIZEOF_CURL_OFF_T > 4) && \ + ( (SIZEOF_OFF_T > 4) || defined(USE_WIN32_LARGE_FILES) ) | CURL_VERSION_LARGEFILE #endif #if defined(CURL_DOES_CONVERSIONS) |