]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
we must not only support long long for Largefile to work, we must have
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Mar 2004 07:46:26 +0000 (07:46 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Mar 2004 07:46:26 +0000 (07:46 +0000)
a curl_off_t type that is larger than 4 bytes

lib/version.c

index 59d8a1461bfb7d68eef5168bef4634adf51ebcc6..d2125a25976a53a5d28cdbc830eedca9e1a71d0b 100644 (file)
@@ -198,7 +198,7 @@ static curl_version_info_data version_info = {
 #ifdef HAVE_SPNEGO
   | CURL_VERSION_SPNEGO
 #endif
-#ifdef ENABLE_64BIT
+#if defined(ENABLE_64BIT) && (SIZEOF_CURL_OFF_T > 4)
   | CURL_VERSION_LARGEFILE
 #endif
   ,