Index: runtime/bin/secure_socket_ios.cc |
diff --git a/runtime/bin/secure_socket_ios.cc b/runtime/bin/secure_socket_ios.cc |
index 0f19380e1dc67582fb371ce6eadbfcb0ef21bd3d..e2d9abc73054818171f31f44c50d6ae0d2f0f4f1 100644 |
--- a/runtime/bin/secure_socket_ios.cc |
+++ b/runtime/bin/secure_socket_ios.cc |
@@ -5,7 +5,7 @@ |
#if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) |
#include "platform/globals.h" |
-#if TARGET_OS_IOS |
+#if HOST_OS_IOS |
#include "bin/secure_socket.h" |
#include "bin/secure_socket_ios.h" |
@@ -1502,6 +1502,6 @@ OSStatus SSLFilter::ProcessWritePlaintextBuffer(intptr_t start, |
} // namespace bin |
} // namespace dart |
-#endif // TARGET_OS_IOS |
+#endif // HOST_OS_IOS |
#endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) |