summaryrefslogtreecommitdiff
path: root/lib/strtoofft.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-11 01:22:57 +0000
committerYang Tse <yangsita@gmail.com>2008-08-11 01:22:57 +0000
commit24b189071035e5b987c137b491532597158889b9 (patch)
tree8448afef2b1e7de8ee0ddcbf85e35a23de22a672 /lib/strtoofft.h
parent3a1d28379a8a9c5ab7bf621c0d80d2ffeb0733ef (diff)
downloadcurl-24b189071035e5b987c137b491532597158889b9.tar.gz
s/SIZEOF_CURL_OFF_T/CURL_SIZEOF_CURL_OFF_T/g
Diffstat (limited to 'lib/strtoofft.h')
-rw-r--r--lib/strtoofft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strtoofft.h b/lib/strtoofft.h
index b53d1cb52..a63dfcbb4 100644
--- a/lib/strtoofft.h
+++ b/lib/strtoofft.h
@@ -38,7 +38,7 @@
* 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_CURL_OFF_T > 4) && (SIZEOF_LONG < 8)
+#if (CURL_SIZEOF_CURL_OFF_T > 4) && (SIZEOF_LONG < 8)
#ifdef HAVE_STRTOLL
#define curlx_strtoofft strtoll
#else /* HAVE_STRTOLL */
@@ -54,7 +54,7 @@ curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base);
#endif /* MSVC7 or later */
#endif /* HAVE_STRTOLL */
-#else /* (SIZEOF_CURL_OFF_T > 4) && (SIZEOF_LONG < 8) */
+#else /* (CURL_SIZEOF_CURL_OFF_T > 4) && (SIZEOF_LONG < 8) */
/* simply use strtol() to get numbers, either 32 or 64 bit */
#define curlx_strtoofft strtol
#endif