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

Unified Diff: src/base/debug/stack_trace_win.cc

Issue 2800043003: Use correct define for identifying MSVC compiler (Closed)
Patch Set: Created 3 years, 8 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/debug/stack_trace_win.cc
diff --git a/src/base/debug/stack_trace_win.cc b/src/base/debug/stack_trace_win.cc
index 8333cd9ea8f327e09b0c0161d3aa0767c6350012..64e63091226891c004b19e0b748a3948e7e00703 100644
--- a/src/base/debug/stack_trace_win.cc
+++ b/src/base/debug/stack_trace_win.cc
@@ -168,7 +168,7 @@ void DisableSignalStackDump() {
// that breaks CaptureStackBackTrace() and prevents StackTrace from working
// in Release builds (it may still be janky if other frames are using FPO,
// but at least it will make it further).
-#if defined(COMPILER_MSVC)
+#if defined(V8_CC_MSVC)
#pragma optimize("", off)
#endif
@@ -177,7 +177,7 @@ StackTrace::StackTrace() {
count_ = CaptureStackBackTrace(0, arraysize(trace_), trace_, NULL);
}
-#if defined(COMPILER_MSVC)
+#if defined(V8_CC_MSVC)
#pragma optimize("", on)
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698