Index: runtime/vm/atomic_linux.h |
diff --git a/runtime/vm/atomic_linux.h b/runtime/vm/atomic_linux.h |
index c4ee9102f8db97aefe355da9386c562ccfffdc93..b4cdffb0f607ec9d8cd4b2631bbcad651c6891e0 100644 |
--- a/runtime/vm/atomic_linux.h |
+++ b/runtime/vm/atomic_linux.h |
@@ -9,7 +9,7 @@ |
#error Do not include atomic_linux.h directly. Use atomic.h instead. |
#endif |
-#if !defined(TARGET_OS_LINUX) |
+#if !defined(HOST_OS_LINUX) |
#error This file should only be included on Linux builds. |
#endif |