Index: runtime/vm/atomic_android.h |
diff --git a/runtime/vm/atomic_android.h b/runtime/vm/atomic_android.h |
index f0731ab81adea5153758b25b8cf9bd709142b1b9..a2f40f1fcaa6b47603aeaaf25f4432e17222f533 100644 |
--- a/runtime/vm/atomic_android.h |
+++ b/runtime/vm/atomic_android.h |
@@ -9,7 +9,7 @@ |
#error Do not include atomic_android.h directly. Use atomic.h instead. |
#endif |
-#if !defined(TARGET_OS_ANDROID) |
+#if !defined(HOST_OS_ANDROID) |
#error This file should only be included on Android builds. |
#endif |