From a975af0e3cf7ea2d0314b855a716621c34cbc425 Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 28 Sep 2023 16:18:39 +0930 Subject: [PATCH] Rsp: only use alignas for Visual Studio --- Source/Project64-rsp-core/cpu/RspTypes.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Project64-rsp-core/cpu/RspTypes.h b/Source/Project64-rsp-core/cpu/RspTypes.h index 79d4ebd06..a90b42109 100644 --- a/Source/Project64-rsp-core/cpu/RspTypes.h +++ b/Source/Project64-rsp-core/cpu/RspTypes.h @@ -40,7 +40,11 @@ public: uint64_t & u64(uint8_t Index); private: - uint64_t alignas(16) m_Reg[2]; +#if defined(_MSC_VER) + uint64_t m_Reg[2] alignas(16); +#else + uint64_t m_Reg[2]; +#endif }; class RSPFlag