Use SIZEOF_OFF_T definition from config file

This commit is contained in:
Yang Tse
2008-08-26 01:40:19 +00:00
parent fdcb0cd2bc
commit 3e2487493e
4 changed files with 59 additions and 22 deletions

View File

@@ -78,7 +78,7 @@ static char *max5data(curl_off_t bytes, char *max5)
bytes/ONE_MEGABYTE,
(bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) );
#if CURL_SIZEOF_CURL_OFF_T > 4
#if (CURL_SIZEOF_CURL_OFF_T > 4)
else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE)
/* 'XXXXM' is good until we're at 10000MB or above */