From b791e158f0e04a518dea19fdaf0bfbf71b343c64 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Jan 2004 12:45:50 +0000 Subject: use curl_off_t instead of off_t! --- lib/strtoofft.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'lib/strtoofft.h') diff --git a/lib/strtoofft.h b/lib/strtoofft.h index ccaf6cb87..4b6e6b136 100644 --- a/lib/strtoofft.h +++ b/lib/strtoofft.h @@ -27,14 +27,13 @@ #include "setup.h" #include -/* Determine what type of file offset conversion handling we wish - * to use. For systems with a 32-bit off_t type, we should use - * strtol. For systems with a 64-bit off_t type, we should use - * strtoll if it exists, and if not, should try to emulate its - * functionality. At any rate, we define 'strtoofft' such that it - * can be used to work with off_t's regardless. +/* Determine what type of file offset conversion handling we wish to use. For + * systems with a 32-bit curl_off_t type, we should use strtol. For systems + * with a 64-bit curl_off_t type, we should use strtoll if it exists, and if + * not, should try to emulate its functionality. At any rate, we define + * 'strtoofft' such that it can be used to work with curl_off_t's regardless. */ -#if SIZEOF_OFF_T > 4 +#if SIZEOF_CURL_OFF_T > 4 #if HAVE_STRTOLL #define strtoofft strtoll #else -- cgit v1.2.1