Эх сурвалжийг харах

No define strtoll/strtoull for VS2013 and above

myd7349 6 жил өмнө
parent
commit
ec0d47e4d2

+ 1 - 1
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__)