X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/blobdiff_plain/1d46b176502a6b41bfc87bb293e13d3fd6d7d7b4..49901f543393051038bf8dd7fb1cffb0ee9a7be8:/rpp/include/base.h diff --git a/rpp/include/base.h b/rpp/include/base.h index d336374..749b2cd 100644 --- a/rpp/include/base.h +++ b/rpp/include/base.h @@ -52,7 +52,7 @@ #define STATIC_ASSERT(COND,MSG) static_assert(COND, #MSG) #else /** Static assertion - non-C11 fall-back */ -#define STATIC_ASSERT(COND,MSG) typedef char static_assertion_##MSG[(COND)?1:-1] +#define STATIC_ASSERT(COND,MSG) typedef char static_assertion_##MSG[(COND) ? 1 : -1] #endif #endif /* __BASE_H */