Index: runtime/bin/secure_socket_macos.cc |
diff --git a/runtime/bin/secure_socket_macos.cc b/runtime/bin/secure_socket_macos.cc |
index 5e6e320f20cca2c007e667170dbe67e70a72dcc0..ab00cc32faf172d30cfae15c73f12bb685c3d500 100644 |
--- a/runtime/bin/secure_socket_macos.cc |
+++ b/runtime/bin/secure_socket_macos.cc |
@@ -5,7 +5,7 @@ |
#if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) |
#include "platform/globals.h" |
-#if defined(TARGET_OS_MACOS) |
+#if defined(TARGET_OS_MACOS) && !TARGET_OS_IOS |
#include "bin/secure_socket.h" |
#include "bin/secure_socket_macos.h" |
@@ -2022,7 +2022,7 @@ OSStatus SSLFilter::ProcessWritePlaintextBuffer(intptr_t start, |
} // namespace bin |
} // namespace dart |
-#endif // defined(TARGET_OS_MACOS) |
+#endif // defined(TARGET_OS_MACOS) && !TARGET_OS_IOS |
#endif // !defined(DART_IO_DISABLED) && |
// !defined(DART_IO_SECURE_SOCKET_DISABLED) |