Added BITL.

This commit is contained in:
yellows8 2021-10-27 16:23:56 -04:00
parent cee75bbe13
commit 65b8ed5582
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -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))