diff --git a/src/libcore/sync/atomic.rs b/src/libcore/sync/atomic.rs index c13fd558354..d647a94a1ef 100644 --- a/src/libcore/sync/atomic.rs +++ b/src/libcore/sync/atomic.rs @@ -918,6 +918,7 @@ pub fn compare_exchange_weak(&self, } } +#[cfg(target_has_atomic = "ptr")] macro_rules! atomic_int { ($stable:meta, $stable_cxchg:meta,