Index: runtime/bin/crypto_macos.cc |
diff --git a/runtime/bin/crypto_macos.cc b/runtime/bin/crypto_macos.cc |
index e2447c017b66701d986aa6d7e2508c64c594b46a..c799d07f06e4573c3dfe76cf23b19ce206189877 100644 |
--- a/runtime/bin/crypto_macos.cc |
+++ b/runtime/bin/crypto_macos.cc |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "platform/globals.h" |
-#if defined(TARGET_OS_MACOS) |
+#if defined(HOST_OS_MACOS) |
#include <errno.h> // NOLINT |
#include <fcntl.h> // NOLINT |
@@ -41,4 +41,4 @@ bool Crypto::GetRandomBytes(intptr_t count, uint8_t* buffer) { |
} // namespace bin |
} // namespace dart |
-#endif // defined(TARGET_OS_MACOS) |
+#endif // defined(HOST_OS_MACOS) |