Index: runtime/bin/platform_macos.cc |
diff --git a/runtime/bin/platform_macos.cc b/runtime/bin/platform_macos.cc |
index 54b48d6a071392933d182398390e9c6526c08d1f..79597e408a08c7a6fbb56a8065178d845f545b30 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 |
} |