Index: runtime/bin/dartutils.cc |
diff --git a/runtime/bin/dartutils.cc b/runtime/bin/dartutils.cc |
index e03ad8f4d0d76666e7f78a36d0b836a010fa7c3b..e5685dfd2267f1d02fe6473afcdb8dc43d73405f 100644 |
--- a/runtime/bin/dartutils.cc |
+++ b/runtime/bin/dartutils.cc |
@@ -94,11 +94,11 @@ bool TryReadKernel(const char* script_uri, |
static bool IsWindowsHost() { |
-#if defined(TARGET_OS_WINDOWS) |
+#if defined(HOST_OS_WINDOWS) |
return true; |
-#else // defined(TARGET_OS_WINDOWS) |
+#else // defined(HOST_OS_WINDOWS) |
return false; |
-#endif // defined(TARGET_OS_WINDOWS) |
+#endif // defined(HOST_OS_WINDOWS) |
} |