AXRGU5XERPTOCA7FWEFPQV7R7YPV34V7COLGGRY6BFZ4EVEMNHMQC #if !defined(BLAKE3_ATOMICS)#if defined(__has_include)#if __has_include(<stdatomic.h>) && !defined(_MSC_VER)#define BLAKE3_ATOMICS 1#else#define BLAKE3_ATOMICS 0#endif /* __has_include(<stdatomic.h>) && !defined(_MSC_VER) */#else#define BLAKE3_ATOMICS 0#endif /* defined(__has_include) */#endif /* BLAKE3_ATOMICS */
#if BLAKE3_ATOMICS#define ATOMIC_INT _Atomic int#define ATOMIC_LOAD(x) x#define ATOMIC_STORE(x, y) x = y#elif defined(_MSC_VER)#define ATOMIC_INT LONG#define ATOMIC_LOAD(x) InterlockedOr(&x, 0)#define ATOMIC_STORE(x, y) InterlockedExchange(&x, y)#else#define ATOMIC_INT int#define ATOMIC_LOAD(x) x#define ATOMIC_STORE(x, y) x = y#endif