Forráskód Böngészése

No define strtoll/strtoull for VS2013 and above

myd7349 6 éve
szülő
commit
ec0d47e4d2
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/google/protobuf/stubs/strutil.h

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