diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/assert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h index 84cf1b7b0..2e64cab01 100644 --- a/src/include/assert.h +++ b/src/include/assert.h @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2013 */ +/* COPYRIGHT International Business Machines Corp. 2011,2014 */ /* */ /* p1 */ /* */ @@ -197,7 +197,7 @@ void __assert(AssertBehavior i_assertb, int i_line); * typedef char CHECKSIZEVAR[(EXPECTED_SIZE == sizeof(DATA)) -1] * */ -#define CPPASSERT(exp) typedef char compile_time_assert_failed[2*((exp)!=0)-1] +#define CPPASSERT(exp) typedef char compile_time_assert_failed[2*((exp)?1:0)-1] #ifdef __cplusplus |