Index: runtime/lib/double.cc |
diff --git a/runtime/lib/double.cc b/runtime/lib/double.cc |
index 2cd1921750ebe674c2ddffe508edd010dfd6960d..683445c5f6fe0a7496ec8a02f88a3e4754b7f720 100644 |
--- a/runtime/lib/double.cc |
+++ b/runtime/lib/double.cc |
@@ -198,7 +198,7 @@ DEFINE_NATIVE_ENTRY(Double_truncate, 1) { |
} |
-#if defined(TARGET_OS_MACOS) |
+#if defined(HOST_OS_MACOS) |
// MAC OSX math library produces old style cast warning. |
#pragma GCC diagnostic ignored "-Wold-style-cast" |
#endif |