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 |