Makefile.am: Link the main library with $(MLIB_LIBS).
[mLib] / utils / macros.h
index bcceecd..8f9f49e 100644 (file)
@@ -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)