build_assert: rename EXPR_BUILD_ASSERT to BUILD_ASSERT_OR_ZERO
[ccan] / ccan / array_size / array_size.h
index c561c0ac9c674ca393405ab888b941c0136ca63a..0876945c5e52a7c19e034fb8fdd1ff5e75d1305f 100644 (file)
@@ -17,7 +17,7 @@
 /* Two gcc extensions.
  * &a[0] degrades to a pointer: a different type from an array */
 #define _array_size_chk(arr)                                           \
-       EXPR_BUILD_ASSERT(!__builtin_types_compatible_p(typeof(arr),    \
+       BUILD_ASSERT_OR_ZERO(!__builtin_types_compatible_p(typeof(arr), \
                                                        typeof(&(arr)[0])))
 #else
 #define _array_size_chk(arr) 0