Index: runtime/bin/stdio_openbsd.cc |
diff --git a/runtime/bin/stdio_android.cc b/runtime/bin/stdio_openbsd.cc |
similarity index 95% |
copy from runtime/bin/stdio_android.cc |
copy to runtime/bin/stdio_openbsd.cc |
index a02a8e3d3f615630f2e659e4bf824f4fd4986b7b..545bbcd9a366f58837ff1bf0455af28aebd9946f 100644 |
--- a/runtime/bin/stdio_android.cc |
+++ b/runtime/bin/stdio_openbsd.cc |
@@ -3,7 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
#include "platform/globals.h" |
-#if defined(TARGET_OS_ANDROID) |
+#if defined(TARGET_OS_OPENBSD) |
#include <errno.h> // NOLINT |
#include <sys/ioctl.h> // NOLINT |
@@ -79,4 +79,4 @@ bool Stdout::GetTerminalSize(intptr_t fd, int size[2]) { |
} // namespace bin |
} // namespace dart |
-#endif // defined(TARGET_OS_ANDROID) |
+#endif // defined(TARGET_OS_OPENBSD) |