Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(616)

Unified Diff: runtime/bin/socket_macos.h

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/socket_macos.h
diff --git a/runtime/bin/socket_macos.h b/runtime/bin/socket_macos.h
index b77857c87d93af32b8e83ffc6a735d5c23cd7689..dce6d9710b4cde3842f67d6c9f844d413446833f 100644
--- a/runtime/bin/socket_macos.h
+++ b/runtime/bin/socket_macos.h
@@ -5,6 +5,10 @@
#ifndef BIN_SOCKET_MACOS_H_
#define BIN_SOCKET_MACOS_H_
+#if !defined(BIN_SOCKET_H_)
+#error Do not include socket_macos.h directly. Use socket.h.
+#endif
+
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/socket.h>

Powered by Google App Engine
This is Rietveld 408576698