summaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-21 00:06:15 +0000
committerYang Tse <yangsita@gmail.com>2008-08-21 00:06:15 +0000
commitceb49d3742e4c27fdd86f9a6b043bebf7f42deaa (patch)
tree55ab5f39955da616c90617d17292741935a10c7f /lib/version.c
parent44142f823474da2675bc8fb591c295111733dc53 (diff)
downloadcurl-ceb49d3742e4c27fdd86f9a6b043bebf7f42deaa.tar.gz
Get rid of ENABLE_64BIT symbol definition and usage.
Improve HAVE_LONGLONG symbol description.
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c
index a2828ceae..5b9ccca3d 100644
--- a/lib/version.c
+++ b/lib/version.c
@@ -190,7 +190,16 @@ static curl_version_info_data version_info = {
#ifdef HAVE_SPNEGO
| CURL_VERSION_SPNEGO
#endif
-#if defined(ENABLE_64BIT) && (CURL_SIZEOF_CURL_OFF_T > 4)
+/*
+ * 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)
| CURL_VERSION_LARGEFILE
#endif
#if defined(CURL_DOES_CONVERSIONS)