Index: runtime/bin/fdutils_openbsd.cc |
diff --git a/runtime/bin/fdutils_macos.cc b/runtime/bin/fdutils_openbsd.cc |
similarity index 98% |
copy from runtime/bin/fdutils_macos.cc |
copy to runtime/bin/fdutils_openbsd.cc |
index 2ecf6006e4813f0485dcd866c06084ca0d600180..0734dab5d686ae09a833da869a89159d475cd946 100644 |
--- a/runtime/bin/fdutils_macos.cc |
+++ b/runtime/bin/fdutils_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 <fcntl.h> // NOLINT |
@@ -11,7 +11,6 @@ |
#include <sys/ioctl.h> // NOLINT |
#include "bin/fdutils.h" |
- |
#include "platform/signal_blocker.h" |
@@ -139,4 +138,4 @@ ssize_t FDUtils::WriteToBlocking(int fd, const void* buffer, size_t count) { |
} // namespace bin |
} // namespace dart |
-#endif // defined(TARGET_OS_MACOS) |
+#endif // defined(TARGET_OS_OPENBSD) |