mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 01:46:47 +00:00
fix CONCATENATE
This commit is contained in:
parent
e9134d8044
commit
0b52596087
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
||||||
#define WRAP_TEMPLATE_CONSTANT(...) ([] { using U = union { static constexpr auto GetValue() { return __VA_ARGS__; } }; return U{}; }())
|
#define WRAP_TEMPLATE_CONSTANT(...) ([] { using U = union { static constexpr auto GetValue() { return __VA_ARGS__; } }; return U{}; }())
|
||||||
#define UNWRAP_TEMPLATE_CONSTANT(tpnm) (tpnm::GetValue())
|
#define UNWRAP_TEMPLATE_CONSTANT(tpnm) (tpnm::GetValue())
|
||||||
|
|
||||||
#define CONCATENATE_IMPL(S1, s2) s1##s2
|
#define CONCATENATE_IMPL(s1, s2) s1##s2
|
||||||
#define CONCATENATE(s1, s2) CONCATENATE_IMPL(s1, s2)
|
#define CONCATENATE(s1, s2) CONCATENATE_IMPL(s1, s2)
|
||||||
|
|
||||||
#define BITSIZEOF(x) (sizeof(x) * CHAR_BIT)
|
#define BITSIZEOF(x) (sizeof(x) * CHAR_BIT)
|
||||||
|
|
Loading…
Reference in a new issue