mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
Add x64 check for ATTR_MS_ABI
This commit is contained in:
@@ -568,7 +568,7 @@ std::atomic<T>* _rawPtrToAtomic(T* ptr)
|
||||
return reinterpret_cast<std::atomic<T>*>(ptr);
|
||||
}
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && defined(ARCH_X86_64)
|
||||
#define ATTR_MS_ABI __attribute__((ms_abi))
|
||||
#else
|
||||
#define ATTR_MS_ABI
|
||||
|
||||
Reference in New Issue
Block a user