Index: runtime/bin/secure_socket.h |
diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket.h |
index 78737c7197f88cb73cef284761bba36ee10160ec..07ff2b04c379ddd57b954d398c1691bf0cf32f49 100644 |
--- a/runtime/bin/secure_socket.h |
+++ b/runtime/bin/secure_socket.h |
@@ -5,7 +5,7 @@ |
#ifndef BIN_SECURE_SOCKET_H_ |
#define BIN_SECURE_SOCKET_H_ |
-#if defined(DART_IO_SECURE_SOCKET_DISABLED) |
+#if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) |
#error "secure_socket.h can only be included on builds with SSL enabled" |
#endif |