diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-10-10 14:08:05 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-10-10 14:08:05 +0000 |
commit | 1dc50e21c44799ac4049606e4784453c15701bb7 (patch) | |
tree | c166f75b30b022941af8cb00b746c9cbbd802b27 | |
parent | 1eddbb1b4728b67290f065fe6e8b772365735349 (diff) |
MSVC uses 'i64' suffix for 64-bit sizes.
-rw-r--r-- | lib/strtoofft.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/strtoofft.h b/lib/strtoofft.h index e23e1483e..041989050 100644 --- a/lib/strtoofft.h +++ b/lib/strtoofft.h @@ -58,7 +58,10 @@ curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base); #define curlx_strtoofft strtol #endif -#ifdef HAVE_LL +#if defined(_MSC_VER) +#define CURL_LLONG_MIN 0x8000000000000000i64 +#define CURL_LLONG_MAX 0x7FFFFFFFFFFFFFFFi64 +#elif defined(HAVE_LL) #define CURL_LLONG_MIN 0x8000000000000000LL #define CURL_LLONG_MAX 0x7FFFFFFFFFFFFFFFLL #else |