diff options
Diffstat (limited to 'include/libc')
| -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 96393c0e7..dae8aeb65 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(__GNUC__) || (__STDC_VERSION__ >= 201112L) +#if !defined(__sgi) && (defined(__GNUC__) || (__STDC_VERSION__ >= 201112L)) # define static_assert(cond, msg) _Static_assert(cond, msg) #else # ifndef GLUE |
