From: Mathieu Desnoyers Date: Mon, 30 Jul 2012 03:45:40 +0000 (-0400) Subject: Fix: CAA_BUILD_BUG_ON should refer to CAA_BUILD_BUG_ON_ZERO X-Git-Tag: v0.7.4~7 X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=commitdiff_plain;h=9f59b2209b3a4bde416bcfa55b10c36b16fa91ae Fix: CAA_BUILD_BUG_ON should refer to CAA_BUILD_BUG_ON_ZERO Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/compiler.h b/urcu/compiler.h index 0c6ece2..cd4a49d 100644 --- a/urcu/compiler.h +++ b/urcu/compiler.h @@ -70,7 +70,7 @@ }) #define CAA_BUILD_BUG_ON_ZERO(cond) (sizeof(struct { int:-!!(cond); })) -#define CAA_BUILD_BUG_ON(cond) ((void)BUILD_BUG_ON_ZERO(cond)) +#define CAA_BUILD_BUG_ON(cond) ((void)CAA_BUILD_BUG_ON_ZERO(cond)) /* * __rcu is an annotation that documents RCU pointer accesses that need