Unified · Split
| @@ -54,4 +54,9 @@ extern void __cdecl _assert(const char *, const char *, unsigned); · 53 unmodified lines | |||
| 54 | 54 | ||
| 55 | #endif | 55 | #endif |
| 56 | 56 | ||
| 57 | #if (__STDC_VERSION__ >= 201112L) && !defined(static_assert) | ||
| 58 | /* C11, section 7.2: The macro static_assert expands to _Static_assert. */ | ||
| 59 | #define static_assert(exp, str) _Static_assert(exp, str) | ||
| 60 | #endif | ||
| 61 | |||
| 57 | #endif | 62 | #endif |