mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 17:01:17 +12:00
Replaced ALIGN macro with alignas
This commit is contained in:
parent
ad1b38c3a9
commit
f33540faa1
3 changed files with 16 additions and 18 deletions
|
@ -229,7 +229,6 @@ typedef union _LARGE_INTEGER {
|
|||
#define DLLEXPORT __declspec(dllexport)
|
||||
#define DLLIMPORT __declspec(dllimport)
|
||||
#define DEBUG_BREAK __debugbreak()
|
||||
#define ALIGN(N) __declspec(align(N))
|
||||
#define NOINLINE __declspec(noinline)
|
||||
#define ASSUME(X) __assume(X)
|
||||
#define THREAD_LOCAL __declspec(thread)
|
||||
|
@ -240,7 +239,6 @@ typedef union _LARGE_INTEGER {
|
|||
// fixme: random stack overflow solution. use with caution
|
||||
#include <csignal>
|
||||
#define DEBUG_BREAK raise(SIGTRAP)
|
||||
#define ALIGN(N) __attribute__((aligned (N)))
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
// fixme: random stack overflow solution. use it with caution
|
||||
#define ASSUME(X) do { if (!(X)) __builtin_unreachable(); } while (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue