Index: runtime/bin/socket_unsupported.cc |
diff --git a/runtime/bin/socket_unsupported.cc b/runtime/bin/socket_unsupported.cc |
index 933df53345841786560df2c3250e241bb14f3b63..0ea27f1aee0e1c13584b1abe9c87dc1d326b907c 100644 |
--- a/runtime/bin/socket_unsupported.cc |
+++ b/runtime/bin/socket_unsupported.cc |
@@ -17,6 +17,12 @@ void FUNCTION_NAME(InternetAddress_Parse)(Dart_NativeArguments args) { |
} |
+void FUNCTION_NAME(NetworkInterface_ListSupported)(Dart_NativeArguments args) { |
+ Dart_ThrowException(DartUtils::NewDartArgumentError( |
+ "Sockets unsupported on this platform")); |
+} |
+ |
+ |
void FUNCTION_NAME(Socket_CreateConnect)(Dart_NativeArguments args) { |
Dart_ThrowException(DartUtils::NewDartArgumentError( |
"Sockets unsupported on this platform")); |