diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-21 06:58:12 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-21 06:58:12 +0000 |
commit | 4dbfc91e2b69497ac4dfc78e88e76c4f98633ad2 (patch) | |
tree | 9c21429f526b9cd0552b6352a2bbf2a564f8233a /lib/strtoofft.h | |
parent | 95cef39defe9af5b8cdb78fa9d0e543dae0ed5dd (diff) | |
download | curl-4dbfc91e2b69497ac4dfc78e88e76c4f98633ad2.tar.gz |
MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64
Diffstat (limited to 'lib/strtoofft.h')
-rw-r--r-- | lib/strtoofft.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strtoofft.h b/lib/strtoofft.h index 6c1d944e1..6d7a14930 100644 --- a/lib/strtoofft.h +++ b/lib/strtoofft.h @@ -45,7 +45,7 @@ # ifdef HAVE_STRTOLL # define curlx_strtoofft strtoll # else -# if defined(_MSC_VER) && (_MSC_VER >= 1300) +# if defined(_MSC_VER) && (_MSC_VER >= 1300) && (_INTEGRAL_MAX_BITS >= 64) _CRTIMP __int64 __cdecl _strtoi64(const char *, char **, int); # define curlx_strtoofft _strtoi64 # else |