-#ifdef ATOMIC_PRIVATE
-
-static inline boolean_t
-atomic_compare_exchange(uintptr_t *target, uintptr_t oldval, uintptr_t newval,
- enum memory_order ord, boolean_t wait)
-{
- (void)wait;
- return __c11_atomic_compare_exchange_strong((_Atomic uintptr_t *)target, &oldval, newval, ord, memory_order_relaxed);
-}
-
-static inline boolean_t
-atomic_compare_exchange32(uint32_t *target, uint32_t oldval, uint32_t newval,
- enum memory_order ord, boolean_t wait)
-{
- (void)wait;
- return __c11_atomic_compare_exchange_strong((_Atomic uint32_t *)target, &oldval, newval, ord, memory_order_relaxed);
-}