From d5c71811d4ccf80c1f9653604b0ba41e6f6494e8 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 27 Feb 2004 15:36:38 +0000 Subject: [PATCH] Hmmm, COMPILE_ASSERT is a better name. --- lib/lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib.h b/lib/lib.h index 1716303a..0b50314f 100644 --- 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) -- 2.39.2