Index: third_party/tcmalloc/chromium/src/windows/port.h |
diff --git a/third_party/tcmalloc/chromium/src/windows/port.h b/third_party/tcmalloc/chromium/src/windows/port.h |
index c23810918592b7182e47183cc82cd0a551b1f6e6..2b67522c1c7e5590b632f48f6687f729fa424b94 100644 |
--- a/third_party/tcmalloc/chromium/src/windows/port.h |
+++ b/third_party/tcmalloc/chromium/src/windows/port.h |
@@ -433,6 +433,7 @@ inline int nanosleep(const struct timespec *req, struct timespec *rem) { |
} |
#ifndef __MINGW32__ |
+#if _MSC_VER < 1800 // Not required >= VS2013. |
inline long long int strtoll(const char *nptr, char **endptr, int base) { |
return _strtoi64(nptr, endptr, base); |
} |
@@ -443,6 +444,7 @@ inline unsigned long long int strtoull(const char *nptr, char **endptr, |
inline long long int strtoq(const char *nptr, char **endptr, int base) { |
return _strtoi64(nptr, endptr, base); |
} |
+#endif |
inline unsigned long long int strtouq(const char *nptr, char **endptr, |
int base) { |
return _strtoui64(nptr, endptr, base); |