[*] fuck clang, fuck c11, fuck std::atomic. i dont care. quit being fucking stupid

This commit is contained in:
Reece Wilson 2023-09-10 01:03:24 +01:00
parent d49bae2e0e
commit 6be98f9d28

View File

@ -11,7 +11,7 @@
#include <stdatomic.h>
#endif
#if defined(AURORA_COMPILER_MSVC)
#if defined(AURORA_COMPILER_MSVC) || 1
using AuAInt8 = volatile AuInt8;
using AuAUInt8 = volatile AuUInt8;
@ -26,6 +26,7 @@
using AuAUInt64 = volatile AuUInt64;
#endif
#define AU_ATOMIC_INIT(n) n
#else
using AuAInt8 = _Atomic(int8_t);
@ -43,6 +44,7 @@
using AuAUInt64 = _Atomic(uint64_t);
#endif
#define AU_ATOMIC_INIT ATOMIC_VAR_INIT
#endif