Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: runtime/bin/fdutils_openbsd.cc

Issue 1559053002: Refs #10260 OpenBSD support #25327 Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Replace // FIXME with // TODO(mulander) Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/fdutils_openbsd.cc
diff --git a/runtime/bin/fdutils_linux.cc b/runtime/bin/fdutils_openbsd.cc
similarity index 98%
copy from runtime/bin/fdutils_linux.cc
copy to runtime/bin/fdutils_openbsd.cc
index e8984ddd9179da2ea9c5a06337483f24698d232a..0734dab5d686ae09a833da869a89159d475cd946 100644
--- a/runtime/bin/fdutils_linux.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_LINUX)
+#if defined(TARGET_OS_OPENBSD)
#include <errno.h> // NOLINT
#include <fcntl.h> // NOLINT
@@ -138,4 +138,4 @@ ssize_t FDUtils::WriteToBlocking(int fd, const void* buffer, size_t count) {
} // namespace bin
} // namespace dart
-#endif // defined(TARGET_OS_LINUX)
+#endif // defined(TARGET_OS_OPENBSD)

Powered by Google App Engine
This is Rietveld 408576698