X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/33e3ac9056f046affd69e3b8871275e5e2697aa4..38245759d7d01234dea1eded49d9e79bf517070a:/utils/macros.h diff --git a/utils/macros.h b/utils/macros.h index bcceecd..181f2f7 100644 --- a/utils/macros.h +++ b/utils/macros.h @@ -40,7 +40,7 @@ /*----- Miscellaneous utility macros --------------------------------------*/ -#define N(v) (sizeof(v)/sizeof(*v)) +#define N(v) (sizeof(v)/sizeof(*(v))) #define MLIB__STR(x) #x #define STR(x) MLIB__STR(x) @@ -180,6 +180,10 @@ # define SCANF_LIKE(fmtix, argix) #endif +#ifndef NORETURN +# define NORETURN +#endif + #ifndef IGNORABLE # define IGNORABLE #endif