mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Add macro for static_assert (#106)
This commit is contained in:
parent
3364fc5b03
commit
6fa049c9c7
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ void __assert_fail(const char *, const char *, int) hidden wontreturn relegated;
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
#define static_assert _Static_assert
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_ASSERT_H_ */
|
||||
|
|
Loading…
Reference in a new issue