summaryrefslogtreecommitdiff
path: root/lib/strtoofft.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-22 12:45:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-22 12:45:50 +0000
commitb791e158f0e04a518dea19fdaf0bfbf71b343c64 (patch)
tree4284e63220eb5883c24351dc2f52282645b3b7cf /lib/strtoofft.h
parent6cd0a90b523c594c75a5cb517f8081390e9e88df (diff)
downloadcurl-b791e158f0e04a518dea19fdaf0bfbf71b343c64.tar.gz
use curl_off_t instead of off_t!
Diffstat (limited to 'lib/strtoofft.h')
-rw-r--r--lib/strtoofft.h13
1 files changed, 6 insertions, 7 deletions
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 <stddef.h>
-/* 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