Add x64 check for ATTR_MS_ABI

This commit is contained in:
SSimco 2024-08-30 20:22:18 +03:00
parent 87315d3457
commit 15e64c48e3

View File

@ -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