Add macro for static_assert (#106)
This commit is contained in:
@ -19,6 +19,8 @@ void __assert_fail(const char *, const char *, int) hidden wontreturn relegated;
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
#define static_assert _Static_assert
|
||||||
|
|
||||||
COSMOPOLITAN_C_END_
|
COSMOPOLITAN_C_END_
|
||||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||||
#endif /* COSMOPOLITAN_LIBC_ASSERT_H_ */
|
#endif /* COSMOPOLITAN_LIBC_ASSERT_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user