Index: runtime/bin/stdio_unsupported.cc |
diff --git a/runtime/bin/stdio_unsupported.cc b/runtime/bin/stdio_unsupported.cc |
index 1482f919bbbcde2682adcaa5e8cfdbb445ba52cd..d4c9d0693ca2d6738100ab116b21e249106751ce 100644 |
--- a/runtime/bin/stdio_unsupported.cc |
+++ b/runtime/bin/stdio_unsupported.cc |
@@ -41,11 +41,23 @@ void FUNCTION_NAME(Stdin_SetLineMode)(Dart_NativeArguments args) { |
} |
+void FUNCTION_NAME(Stdin_AnsiSupported)(Dart_NativeArguments args) { |
+ Dart_ThrowException( |
+ DartUtils::NewDartArgumentError("Stdin unsupported on this platform")); |
+} |
+ |
+ |
void FUNCTION_NAME(Stdout_GetTerminalSize)(Dart_NativeArguments args) { |
Dart_ThrowException( |
DartUtils::NewDartArgumentError("Stdout unsupported on this platform")); |
} |
+ |
+void FUNCTION_NAME(Stdout_AnsiSupported)(Dart_NativeArguments args) { |
+ Dart_ThrowException( |
+ DartUtils::NewDartArgumentError("Stdout unsupported on this platform")); |
+} |
+ |
} // namespace bin |
} // namespace dart |