diff options
Diffstat (limited to 'include/libc/assert.h')
| -rw-r--r-- | include/libc/assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc/assert.h b/include/libc/assert.h index dae8aeb65..de54b8a79 100644 --- a/include/libc/assert.h +++ b/include/libc/assert.h @@ -29,7 +29,7 @@ __attribute__((noreturn)) void __assert(const char* assertion, const char* file, // Static/compile-time assertions -#if !defined(__sgi) && (defined(__GNUC__) || (__STDC_VERSION__ >= 201112L)) +#if !defined(__sgi) && (__GNUC__ >= 5 || __STDC_VERSION__ >= 201112L) # define static_assert(cond, msg) _Static_assert(cond, msg) #else # ifndef GLUE |
