Index: runtime/vm/atomic_macos.h |
diff --git a/runtime/vm/atomic_macos.h b/runtime/vm/atomic_macos.h |
index e1c701f477371566de2ae7d42d7a2f617ba7173b..6913a3fb3f83d7212e8a4452a6a63c1fa588ec2d 100644 |
--- a/runtime/vm/atomic_macos.h |
+++ b/runtime/vm/atomic_macos.h |
@@ -9,7 +9,7 @@ |
#error Do not include atomic_macos.h directly. Use atomic.h instead. |
#endif |
-#if !defined(TARGET_OS_MACOS) |
+#if !defined(HOST_OS_MACOS) |
#error This file should only be included on Mac OS X builds. |
#endif |