diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-07 07:30:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-07 07:30:40 +0000 |
commit | cf1f46e1ca001dcab81e9116712c3eefefc03fd7 (patch) | |
tree | 1e80b81b7bf5203a2a7ca818e3d17fcb93bca50c /lib/strtoofft.h | |
parent | f052cbee1999a9dce6954efd466fd16c223c16a7 (diff) | |
download | curl-cf1f46e1ca001dcab81e9116712c3eefefc03fd7.tar.gz |
renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
concept, and added lib/README.curlx to explain details about it
Diffstat (limited to 'lib/strtoofft.h')
-rw-r--r-- | lib/strtoofft.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/strtoofft.h b/lib/strtoofft.h index 27c3668e3..4c5d2652b 100644 --- a/lib/strtoofft.h +++ b/lib/strtoofft.h @@ -40,22 +40,22 @@ */ #if SIZEOF_CURL_OFF_T > 4 #if HAVE_STRTOLL -#define strtoofft strtoll +#define curlx_strtoofft strtoll #else /* HAVE_STRTOLL */ /* For MSVC7 we can use _strtoi64() which seems to be a strtoll() clone */ #if defined(_MSC_VER) && (_MSC_VER >= 1300) -#define strtoofft _strtoi64 +#define curlx_strtoofft _strtoi64 #else /* MSVC7 or later */ curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base); -#define strtoofft curlx_strtoll +#define curlx_strtoofft curlx_strtoll #define NEED_CURL_STRTOLL #endif /* MSVC7 or later */ #endif /* HAVE_STRTOLL */ #else /* SIZEOF_CURL_OFF_T > 4 */ /* simply use strtol() to get 32bit numbers */ -#define strtoofft strtol +#define curlx_strtoofft strtol #endif #endif |