Index: runtime/bin/file_system_watcher_macos.cc |
diff --git a/runtime/bin/file_system_watcher_macos.cc b/runtime/bin/file_system_watcher_macos.cc |
index 3636eb377f9990efc1c5e33bf8823864a2f475a6..f9da101c095ba7dd10c5fd52cfa9b24efef17555 100644 |
--- a/runtime/bin/file_system_watcher_macos.cc |
+++ b/runtime/bin/file_system_watcher_macos.cc |
@@ -5,11 +5,11 @@ |
#if !defined(DART_IO_DISABLED) |
#include "platform/globals.h" |
-#if defined(TARGET_OS_MACOS) |
+#if defined(HOST_OS_MACOS) |
#include "bin/file_system_watcher.h" |
-#if !TARGET_OS_IOS |
+#if !HOST_OS_IOS |
#include <errno.h> // NOLINT |
#include <fcntl.h> // NOLINT |
@@ -397,7 +397,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id, intptr_t path_id) { |
} // namespace bin |
} // namespace dart |
-#else // !TARGET_OS_IOS |
+#else // !HOST_OS_IOS |
namespace dart { |
namespace bin { |
@@ -439,7 +439,7 @@ intptr_t FileSystemWatcher::WatchPath(intptr_t id, |
} // namespace bin |
} // namespace dart |
-#endif // !TARGET_OS_IOS |
-#endif // defined(TARGET_OS_MACOS) |
+#endif // !HOST_OS_IOS |
+#endif // defined(HOST_OS_MACOS) |
#endif // !defined(DART_IO_DISABLED) |