@@ -1097,11 +1097,11 @@ } - (instancetype)retain { #if defined(OF_HAVE_ATOMIC_OPS) - of_atomic_int_inc(&PRE_IVARS->retainCount); + OFAtomicIntIncrease(&PRE_IVARS->retainCount); #elif defined(OF_AMIGAOS) /* * On AmigaOS, we can only have one CPU. As increasing a variable is a * single instruction on M68K, we don't need Forbid() / Permit() on * M68K. @@ -1131,11 +1131,11 @@ - (void)release { #if defined(OF_HAVE_ATOMIC_OPS) of_memory_barrier_release(); - if (of_atomic_int_dec(&PRE_IVARS->retainCount) <= 0) { + if (OFAtomicIntDecrease(&PRE_IVARS->retainCount) <= 0) { of_memory_barrier_acquire(); [self dealloc]; } #elif defined(OF_AMIGAOS)