From 65b8ed5582b80891e637350f0d4f20a6839889e3 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Wed, 27 Oct 2021 16:23:56 -0400 Subject: [PATCH] Added BITL. --- nx/include/switch/types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nx/include/switch/types.h b/nx/include/switch/types.h index 0dd6555b..165eb00c 100644 --- a/nx/include/switch/types.h +++ b/nx/include/switch/types.h @@ -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))