Index: runtime/bin/address_sanitizer.cc |
diff --git a/runtime/bin/address_sanitizer.cc b/runtime/bin/address_sanitizer.cc |
index db2c65e7a5585e1d4d389955b084196a8f1b62de..708e1690b148c2ad4b557e165159955b53c4149b 100644 |
--- a/runtime/bin/address_sanitizer.cc |
+++ b/runtime/bin/address_sanitizer.cc |
@@ -4,7 +4,7 @@ |
#include "platform/globals.h" |
-#if defined(TARGET_OS_LINUX) || defined(TARGET_OS_MACOSX) |
+#if defined(HOST_OS_LINUX) || defined(HOST_OS_MACOSX) |
#if defined(__has_feature) |
#if __has_feature(address_sanitizer) |
@@ -23,4 +23,4 @@ __asan_default_options() { |
#endif // __has_feature(address_sanitizer) |
#endif // defined(__has_feature) |
-#endif // defined(TARGET_OS_LINUX) || defined(TARGET_OS_MACOSX) |
+#endif // defined(HOST_OS_LINUX) || defined(HOST_OS_MACOSX) |