diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2012-11-16 09:33:11 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2012-11-16 09:33:11 +0200 |
commit | 59788e2aabe41d46164184d4c31fd877397b62ee (patch) | |
tree | 264f2bc666fa1a29e14bdc63f42e227a30c398e2 /pb.h | |
parent | cc29958d34e43ed889536ad4a723fce819544785 (diff) |
Rename test_compiles.c to test_multiple_files.c
Diffstat (limited to 'pb.h')
-rw-r--r-- | pb.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |