Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: util/stdlib/cxx.h

Issue 803273002: win: set CXX_LIBRARY_VERSION to 2011 (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | util/stdlib/string_number_conversion.cc » ('j') | util/stdlib/string_number_conversion.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | util/stdlib/string_number_conversion.cc » ('j') | util/stdlib/string_number_conversion.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698