Index: runtime/platform/utils.h |
diff --git a/runtime/platform/utils.h b/runtime/platform/utils.h |
index 911cf508efc0f16d1f80d938676b615cff1b4c15..d9d70c14518dbaf3d08635da8394ab1821ae0d0b 100644 |
--- a/runtime/platform/utils.h |
+++ b/runtime/platform/utils.h |
@@ -208,15 +208,15 @@ class Utils { |
} // namespace dart |
-#if defined(TARGET_OS_ANDROID) |
+#if defined(HOST_OS_ANDROID) |
#include "platform/utils_android.h" |
-#elif defined(TARGET_OS_FUCHSIA) |
+#elif defined(HOST_OS_FUCHSIA) |
#include "platform/utils_fuchsia.h" |
-#elif defined(TARGET_OS_LINUX) |
+#elif defined(HOST_OS_LINUX) |
#include "platform/utils_linux.h" |
-#elif defined(TARGET_OS_MACOS) |
+#elif defined(HOST_OS_MACOS) |
#include "platform/utils_macos.h" |
-#elif defined(TARGET_OS_WINDOWS) |
+#elif defined(HOST_OS_WINDOWS) |
#include "platform/utils_win.h" |
#else |
#error Unknown target os. |