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

Unified Diff: runtime/bin/utils_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/utils_openbsd.cc
diff --git a/runtime/bin/utils_android.cc b/runtime/bin/utils_openbsd.cc
similarity index 97%
copy from runtime/bin/utils_android.cc
copy to runtime/bin/utils_openbsd.cc
index e36ac11cdb1525e9b543bc023472f9fec85459b1..a31c219d38217839180147eee1154acb68a46ab1 100644
--- a/runtime/bin/utils_android.cc
+++ b/runtime/bin/utils_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 <netdb.h> // NOLINT
@@ -14,7 +14,6 @@
#include "platform/assert.h"
#include "platform/utils.h"
-
Ivan Posva 2016/01/11 23:58:40 White space change?
mulander 2016/01/12 00:22:46 My bad like in previous cases.
namespace dart {
namespace bin {
@@ -115,4 +114,4 @@ void TimerUtils::Sleep(int64_t millis) {
} // namespace bin
} // namespace dart
-#endif // defined(TARGET_OS_ANDROID)
+#endif // defined(TARGET_OS_OPENBSD)

Powered by Google App Engine
This is Rietveld 408576698