From 9f59b2209b3a4bde416bcfa55b10c36b16fa91ae Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 29 Jul 2012 23:45:40 -0400 Subject: [PATCH] Fix: CAA_BUILD_BUG_ON should refer to CAA_BUILD_BUG_ON_ZERO Signed-off-by: Mathieu Desnoyers --- urcu/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1