diff --git a/src/hb-private.hh b/src/hb-private.hh index ae5288954023c1be66c4ddbc39c9499be02aafd1..85561d21f77b5062a570b3d2c5e60d5299851000 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -78,6 +78,8 @@ HB_BEGIN_DECLS #define _ASSERT_STATIC0(_line, _cond) _ASSERT_STATIC1 (_line, (_cond)) #define ASSERT_STATIC(_cond) _ASSERT_STATIC0 (__LINE__, (_cond)) +#define ASSERT_STATIC_EXPR(_cond) ((void) sizeof (char[(_cond) ? 1 : -1])) + /* Lets assert int types. Saves trouble down the road. */