Implement static_assert

This commit is contained in:
Wildan M
2026-05-18 21:56:54 +07:00
parent 05d4015b81
commit ff56dc9b74
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@ trailer = """
#undef assert
#endif
#if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
#define static_assert _Static_assert
#endif
#ifdef NDEBUG
# define assert(cond) (void) 0
#else