mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 10:25:08 -04:00
util: make offsetof/parent-of-member actually constexpr
This commit is contained in:
parent
f3fa680d5d
commit
da59334c5e
6 changed files with 211 additions and 35 deletions
|
@ -34,6 +34,7 @@
|
|||
#define ALIGNED(algn) __attribute__((aligned(algn)))
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
#define WEAK_SYMBOL __attribute__((weak))
|
||||
#define ALWAYS_INLINE_LAMBDA __attribute__((always_inline))
|
||||
#define ALWAYS_INLINE inline __attribute__((always_inline))
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue