Index: runtime/bin/stdio_openbsd.cc |
diff --git a/runtime/bin/stdio_macos.cc b/runtime/bin/stdio_openbsd.cc |
similarity index 95% |
copy from runtime/bin/stdio_macos.cc |
copy to runtime/bin/stdio_openbsd.cc |
index 24f0414a8f72fcc0dd754f2329b23fb99a18ee30..545bbcd9a366f58837ff1bf0455af28aebd9946f 100644 |
--- a/runtime/bin/stdio_macos.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_MACOS) |
+#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_MACOS) |
+#endif // defined(TARGET_OS_OPENBSD) |