From 79204585bb4a5c6d84740e6ed0a8abda9aa2cdcd Mon Sep 17 00:00:00 2001 From: rajRishi22 Date: Tue, 26 Nov 2024 01:40:43 +0530 Subject: [PATCH] Fixed undefined variables --- librz/util/bitvector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/librz/util/bitvector.c b/librz/util/bitvector.c index 7e2b0bb334e..3ce09543114 100644 --- a/librz/util/bitvector.c +++ b/librz/util/bitvector.c @@ -9,6 +9,7 @@ #define NELEM(N, ELEMPER) ((N + (ELEMPER)-1) / (ELEMPER)) #define BV_ELEM_SIZE 8U #define RZ_BV_CHUNK_SIZE (sizeof(unsigned long) * CHAR_BIT) +#define SIZE_OF_UNSIGNED_LONG sizeof(unsigned long) // optimization for reversing 8 bits which uses 32 bits // https://graphics.stanford.edu/~seander/bithacks.html#ReverseByteWith32Bits