Rsp: only use alignas for Visual Studio

This commit is contained in:
zilmar 2023-09-28 16:18:39 +09:30
parent dd7ec63dd9
commit a975af0e3c
1 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,11 @@ public:
uint64_t & u64(uint8_t Index); uint64_t & u64(uint8_t Index);
private: 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 class RSPFlag