Use _strtoi64 and _strtoui64 on Windows.

This commit is contained in:
Andreas Schuh 2014-03-17 21:21:21 +00:00
parent 107681258b
commit eeb4db3234

View file

@ -64,8 +64,11 @@ extern GFLAGS_DLL_DECL void (*gflags_exitfunc)(int);
#elif defined(GFLAGS_HAVE_STRTOQ)
# define strto64 strtoq
# define strtou64 strtouq
#else
#elif defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGW64__)
# define strto64 _strtoi64
# define strtou64 _strtoui64
// Neither strtoll nor strtoq are defined. I hope strtol works!
#else
# define strto64 strtol
# define strtou64 strtoul
#endif