diff options
Diffstat (limited to 'libc-bottom-half/headers/private/assert.h')
-rw-r--r-- | libc-bottom-half/headers/private/assert.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc-bottom-half/headers/private/assert.h b/libc-bottom-half/headers/private/assert.h new file mode 100644 index 0000000..8e19ff4 --- /dev/null +++ b/libc-bottom-half/headers/private/assert.h @@ -0,0 +1,7 @@ +#include <stdlib.h> + +#ifndef __cplusplus +#define static_assert _Static_assert +#endif + +#define assert(x) ((void)((x) || (abort(), 0))) |