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

Unified Diff: runtime/vm/os_macos.cc

Issue 1417013011: Report iOS as iOS rather than OS X. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/vm/os_macos.cc
diff --git a/runtime/vm/os_macos.cc b/runtime/vm/os_macos.cc
index a7d3ee672364ef5fedf66fbb956ddf1a5bd1e546..9f8a8f054bd3b600f5ba99f552db378ebd72e3ce 100644
--- a/runtime/vm/os_macos.cc
+++ b/runtime/vm/os_macos.cc
@@ -27,7 +27,11 @@
namespace dart {
const char* OS::Name() {
+#if TARGET_OS_IOS
+ return "ios";
+#else
return "macos";
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698