mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-06 16:19:25 +02:00
Added BITL.
This commit is contained in:
parent
cee75bbe13
commit
65b8ed5582
@ -54,6 +54,10 @@ typedef struct { float value[3]; } UtilFloat3; ///< 3 floats.
|
||||
#define BIT(n) (1U<<(n))
|
||||
#endif
|
||||
|
||||
#ifndef BITL
|
||||
#define BITL(n) (1UL<<(n))
|
||||
#endif
|
||||
|
||||
/// Packs a struct so that it won't include padding bytes.
|
||||
#ifndef PACKED
|
||||
#define PACKED __attribute__((packed))
|
||||
|
Loading…
Reference in New Issue
Block a user