From 59788e2aabe41d46164184d4c31fd877397b62ee Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Fri, 16 Nov 2012 09:33:11 +0200 Subject: Rename test_compiles.c to test_multiple_files.c --- pb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pb.h') diff --git a/pb.h b/pb.h index 22b10d8..5e9fad2 100644 --- a/pb.h +++ b/pb.h @@ -24,7 +24,9 @@ #define UNUSED(x) (void)(x) #endif -/* Compile-time assertion, used for checking compatible compilation options. */ +/* Compile-time assertion, used for checking compatible compilation options. + * If this fails on your compiler for some reason, use #define STATIC_ASSERT + * to disable it. */ #ifndef STATIC_ASSERT #define STATIC_ASSERT(COND,MSG) typedef char STATIC_ASSERT_MSG(MSG, __LINE__, __COUNTER__)[(COND)?1:-1]; #define STATIC_ASSERT_MSG(MSG, LINE, COUNTER) STATIC_ASSERT_MSG_(MSG, LINE, COUNTER) -- cgit 1.2.3-korg