mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
alignas() used instead of set_alignment macro
This commit is contained in:
parent
544fe531a3
commit
8d758b9088
7 changed files with 30 additions and 30 deletions
|
|
@ -31,10 +31,10 @@
|
|||
#define force_inline __attribute__((always_inline))
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define set_alignment(x) _CRT_ALIGN(x)
|
||||
#else
|
||||
#define set_alignment(x) __attribute__((aligned(x)))
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||
#define alignas(x) _CRT_ALIGN(x)
|
||||
#elif defined(__GNUG__)
|
||||
#define ALIGN(x) __attribute__((aligned(x))) // not used
|
||||
#endif
|
||||
|
||||
#if defined(__GNUG__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue