aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-15 01:08:08 +0000
committerGunter Knauf <gk@gknw.de>2004-07-15 01:08:08 +0000
commit1318760ad22ccd5e8e52a4bb5e7ac91825df063c (patch)
treedde24a6f14f6a88570dc3a8fb0aa26c620550f74
parent15a403a98da6fb36e4ebd500f83df50820df01eb (diff)
Gisle's fix to support Borland builds again.
-rw-r--r--lib/config-win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index e14764e1c..3aa27b639 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -39,7 +39,12 @@
#undef SIZEOF_CURL_OFF_T
#endif
+/* Borland lacks _lseeki64(), so we don't support >2GB files */
+#ifdef __BORLANDC__
+#define SIZEOF_CURL_OFF_T 4
+#else
#define SIZEOF_CURL_OFF_T 8
+#endif
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1