X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcheck_type%2Fcheck_type.h;h=884056719cc718eb075acd1a8848c8aef8640265;hp=d0dc0d4b295fb9bf800bf4e1d69ac59a7ed5615f;hb=115648946c7a78e87fb45eac6c1759a347d4c7f8;hpb=f66bb62ab93dfb3031fd4c75c4a23951428f3a3f diff --git a/ccan/check_type/check_type.h b/ccan/check_type/check_type.h index d0dc0d4b..88405671 100644 --- a/ccan/check_type/check_type.h +++ b/ccan/check_type/check_type.h @@ -51,7 +51,7 @@ #define check_types_match(expr1, expr2) \ ((typeof(expr1) *)0 != (typeof(expr2) *)0) #else -#include "build_assert/build_assert.h" +#include /* Without typeof, we can only test the sizes. */ #define check_type(expr, type) \ EXPR_BUILD_ASSERT(sizeof(expr) == sizeof(type))