diff --git a/src/utils.h b/src/utils.h index 54cb56c1c..ee5ef0b59 100644 --- a/src/utils.h +++ b/src/utils.h @@ -9,7 +9,8 @@ #include "types.h" #define nothing() do {} while (0) -#define fallthru() do {} while (0) +#define fallthru() do {} while (0) +#define NUMBER(x) (sizeof(x)/sizeof((x)[0])) #ifndef MAX #define MAX(x,y) ((x) < (y) ? (y) : (x))