From 791b86368778e21fd4936f0f8674daff44046dff Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sun, 10 Mar 2019 12:15:09 +0800 Subject: [PATCH] No define strtoll/strtoull for VS2013 and above --- src/google/protobuf/stubs/strutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/stubs/strutil.h b/src/google/protobuf/stubs/strutil.h index a9599cfe2eb6..790500d26e4d 100644 --- a/src/google/protobuf/stubs/strutil.h +++ b/src/google/protobuf/stubs/strutil.h @@ -43,7 +43,7 @@ namespace google { namespace protobuf { -#ifdef _MSC_VER +#if defined(_MSC_VER) && _MSC_VER < 1800 #define strtoll _strtoi64 #define strtoull _strtoui64 #elif defined(__DECCXX) && defined(__osf__)