Index: runtime/bin/socket_macos.cc |
diff --git a/runtime/bin/socket_macos.cc b/runtime/bin/socket_macos.cc |
index c1f48ccae7612aadba9c169f51dd3e0db6790e36..d4f205e85915020aaa21414b6de0fa0e8acdd7b4 100644 |
--- a/runtime/bin/socket_macos.cc |
+++ b/runtime/bin/socket_macos.cc |
@@ -5,7 +5,7 @@ |
#if !defined(DART_IO_DISABLED) |
#include "platform/globals.h" |
-#if defined(TARGET_OS_MACOS) |
+#if defined(HOST_OS_MACOS) |
#include "bin/socket.h" |
#include "bin/socket_macos.h" |
@@ -628,6 +628,6 @@ bool Socket::LeaveMulticast(intptr_t fd, |
} // namespace bin |
} // namespace dart |
-#endif // defined(TARGET_OS_MACOS) |
+#endif // defined(HOST_OS_MACOS) |
#endif // !defined(DART_IO_DISABLED) |