mirror of
https://github.com/switchbrew/libnx.git
synced 2025-08-07 08:39:24 +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))
|
#define BIT(n) (1U<<(n))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BITL
|
||||||
|
#define BITL(n) (1UL<<(n))
|
||||||
|
#endif
|
||||||
|
|
||||||
/// Packs a struct so that it won't include padding bytes.
|
/// Packs a struct so that it won't include padding bytes.
|
||||||
#ifndef PACKED
|
#ifndef PACKED
|
||||||
#define PACKED __attribute__((packed))
|
#define PACKED __attribute__((packed))
|
||||||
|
Loading…
Reference in New Issue
Block a user