use crate::loom_types::sync::atomic;
#[cfg(any(target_pointer_width = "64", feature = "long_counter"))]
pub(crate) type UnsignedShort = u32;
#[cfg(any(target_pointer_width = "64", feature = "long_counter"))]
pub(crate) type UnsignedLong = u64;
#[cfg(any(target_pointer_width = "64", feature = "long_counter"))]
pub(crate) type AtomicUnsignedShort = atomic::AtomicU32;
#[cfg(any(target_pointer_width = "64", feature = "long_counter"))]
pub(crate) type AtomicUnsignedLong = atomic::AtomicU64;
#[cfg(not(any(target_pointer_width = "64", feature = "long_counter")))]
pub(crate) type UnsignedShort = u16;
#[cfg(not(any(target_pointer_width = "64", feature = "long_counter")))]
pub(crate) type UnsignedLong = u32;
#[cfg(not(any(target_pointer_width = "64", feature = "long_counter")))]
pub(crate) type AtomicUnsignedShort = atomic::AtomicU16;
#[cfg(not(any(target_pointer_width = "64", feature = "long_counter")))]
pub(crate) type AtomicUnsignedLong = atomic::AtomicU32;