diff --git a/lib/config-win32.h b/lib/config-win32.h index e14764e1cd0f1c337838c4c54377716d92e82210..3aa27b639e1094611de47c0110bc296ffadd3f3b 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