31 #ifndef _CPL_ATOMIC_OPS_INCLUDED 32 #define _CPL_ATOMIC_OPS_INCLUDED 61 int CPL_DLL CPLAtomicAdd(
volatile int* ptr,
int increment);
72 #define CPLAtomicInc(ptr) CPLAtomicAdd(ptr, 1) 83 #define CPLAtomicDec(ptr) CPLAtomicAdd(ptr, -1) Core portability definitions for CPL.