]> mj.ucw.cz Git - libucw.git/commitdiff
Hmmm, COMPILE_ASSERT is a better name.
authorMartin Mares <mj@ucw.cz>
Fri, 27 Feb 2004 15:36:38 +0000 (15:36 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 27 Feb 2004 15:36:38 +0000 (15:36 +0000)
lib/lib.h

index 1716303afa8e24bfe1904d382bfb054545e63ab1..0b50314f26ae28fb4e7c20d799a871083a4ed3a3 100644 (file)
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -69,7 +69,7 @@ void assert_failed(void) NONRET;
 #define ASSERT(x) do { if (__builtin_constant_p(x) && !(x)) assert_failed(); } while(0)
 #endif
 
-#define CPP_ASSERT(name,x) typedef char _CPP_ASSERT_##name[!!(x)-1]
+#define COMPILE_ASSERT(name,x) typedef char _COMPILE_ASSERT_##name[!!(x)-1]
 
 #ifdef LOCAL_DEBUG
 #define DBG(x,y...) log(L_DEBUG, x,##y)