Go to the documentation of this file.
8 #ifndef hubbub_utils_h_
9 #define hubbub_utils_h_
11 #ifdef BUILD_TARGET_riscos
20 #ifdef BUILD_TARGET_windows
21 #define strncasecmp _strnicmp
25 #define max(a,b) ((a)>(b)?(a):(b))
29 #define min(a,b) ((a)<(b)?(a):(b))
34 #define SLEN(s) (sizeof((s)) - 1)
38 #define UNUSED(x) ((x)=(x))
42 #define N_ELEMENTS(x) sizeof((x)) / sizeof((x)[0])