diff --git a/compiletimeassert.h b/compiletimeassert.h index f9cfb49..2b71aa8 100644 --- a/compiletimeassert.h +++ b/compiletimeassert.h @@ -1,8 +1,12 @@ -#if __STDC_VERSION__ >= 201112L +#if __STDC_VERSION__ >= 201710L #define compiletimeassert(cond) _Static_assert(cond) +#elif __STDC_VERSION__ >= 201112L + +#define compiletimeassert(cond) _Static_assert(cond,"") + #else #define __X(x, y) x ## y