Index: runtime/bin/platform_macos.cc |
diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc |
index 091d093feda8ef947461c0cdd1ac707a5d680701..0f7c62965c2c829f568a7e4e862a0fd8c9c1d599 100644 |
--- a/runtime/bin/platform_macos.cc |
+++ b/runtime/bin/platform_macos.cc |
@@ -53,7 +53,11 @@ int Platform::NumberOfProcessors() { |
const char* Platform::OperatingSystem() { |
+#if TARGET_OS_IOS |
+ return "ios"; |
+#else |
return "macos"; |
+#endif |
} |