projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eddbb1
)
MSVC uses 'i64' suffix for 64-bit sizes.
author
Gisle Vanem
<gvanem@broadpark.no>
Sun, 10 Oct 2004 14:08:05 +0000
(14:08 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Sun, 10 Oct 2004 14:08:05 +0000
(14:08 +0000)
lib/strtoofft.h
patch
|
blob
|
history
diff --git
a/lib/strtoofft.h
b/lib/strtoofft.h
index
e23e148
..
0419890
100644
(file)
--- 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