Chromium Code Reviews

Unified Diff: runtime/bin/secure_socket_macos.cc

Issue 1839463002: Really remove io support when dart:io is unsupported. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: runtime/bin/secure_socket_macos.cc
diff --git a/runtime/bin/secure_socket_macos.cc b/runtime/bin/secure_socket_macos.cc
index a18b32fe26dce0022fb5ee8f60e1efa754693ffe..af1239680cfca846d5e66c6c69f5f90d6d932df6 100644
--- a/runtime/bin/secure_socket_macos.cc
+++ b/runtime/bin/secure_socket_macos.cc
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#if !defined(DART_IO_SECURE_SOCKET_DISABLED)
+#if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED)
#include "platform/globals.h"
#if defined(TARGET_OS_MACOS)
@@ -2075,4 +2075,5 @@ OSStatus SSLFilter::ProcessWritePlaintextBuffer(intptr_t start,
#endif // defined(TARGET_OS_MACOS)
-#endif // !defined(DART_IO_SECURE_SOCKET_DISABLED)
+#endif // !defined(DART_IO_DISABLED) &&
+ // !defined(DART_IO_SECURE_SOCKET_DISABLED)

Powered by Google App Engine