Index: util/stdlib/cxx.h |
diff --git a/util/stdlib/cxx.h b/util/stdlib/cxx.h |
index 261a6c11239fbc3e365ba2bb7783ce76b3e78b7f..f07f2e75a61a872da339f22938d47a7e5e6449bb 100644 |
--- a/util/stdlib/cxx.h |
+++ b/util/stdlib/cxx.h |
@@ -15,6 +15,14 @@ |
#ifndef CRASHPAD_UTIL_STDLIB_CXX_H_ |
#define CRASHPAD_UTIL_STDLIB_CXX_H_ |
+#include "build/build_config.h" |
+ |
+#if defined(COMPILER_MSVC) |
+ |
+#define CXX_LIBRARY_VERSION 2011 |
+ |
+#else // !COMPILER_MSVC |
+ |
// <ciso646> doesn’t do very much, and under libc++, it will cause the |
// _LIBCPP_VERSION macro to be defined properly. Under libstdc++, it doesn’t |
// cause __GLIBCXX__ to be defined, but if _LIBCPP_VERSION isn’t defined after |
@@ -54,4 +62,6 @@ |
#define CXX_LIBRARY_VERSION 2003 |
#endif |
+#endif // COMPILER_MSVC |
+ |
#endif // CRASHPAD_UTIL_STDLIB_CXX_H_ |