Index: runtime/vm/stack_frame.cc |
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc |
index 6806d99dbf35b09ecb5c74d1a9e89dbd383e06ee..a1fd87eda4606ed0f220501843ef9e7f2a833999 100644 |
--- a/runtime/vm/stack_frame.cc |
+++ b/runtime/vm/stack_frame.cc |
@@ -22,7 +22,7 @@ namespace dart { |
bool StackFrame::IsStubFrame() const { |
ASSERT(!(IsEntryFrame() || IsExitFrame())); |
-#if !defined(TARGET_OS_WINDOWS) |
+#if !defined(HOST_OS_WINDOWS) |
// On Windows, the profiler calls this from a separate thread where |
// Thread::Current() is NULL, so we cannot create a NoSafepointScope. |
NoSafepointScope no_safepoint; |
@@ -223,7 +223,7 @@ RawCode* StackFrame::LookupDartCode() const { |
// We add a no gc scope to ensure that the code below does not trigger |
// a GC as we are handling raw object references here. It is possible |
// that the code is called while a GC is in progress, that is ok. |
-#if !defined(TARGET_OS_WINDOWS) |
+#if !defined(HOST_OS_WINDOWS) |
// On Windows, the profiler calls this from a separate thread where |
// Thread::Current() is NULL, so we cannot create a NoSafepointScope. |
NoSafepointScope no_safepoint; |