use crate::loom_exports::sync::atomic;
#[cfg(target_has_atomic = "64")]
pub(crate) type UnsignedShort = u32;
#[cfg(target_has_atomic = "64")]
pub(crate) type UnsignedLong = u64;
#[cfg(target_has_atomic = "64")]
pub(crate) type AtomicUnsignedShort = atomic::AtomicU32;
#[cfg(target_has_atomic = "64")]
pub(crate) type AtomicUnsignedLong = atomic::AtomicU64;
#[cfg(not(target_has_atomic = "64"))]
pub(crate) type UnsignedShort = u16;
#[cfg(not(target_has_atomic = "64"))]
pub(crate) type UnsignedLong = u32;
#[cfg(not(target_has_atomic = "64"))]
pub(crate) type AtomicUnsignedShort = atomic::AtomicU16;
#[cfg(not(target_has_atomic = "64"))]
pub(crate) type AtomicUnsignedLong = atomic::AtomicU32;