| 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)
 | 
| 
 |