summaryrefslogtreecommitdiffstats
path: root/libc-bottom-half/headers/private/assert.h
blob: 8e19ff46c53174463e2dc3641156149b74d4f7d6 (plain)
1
2
3
4
5
6
7
#include <stdlib.h>

#ifndef __cplusplus
#define static_assert _Static_assert
#endif

#define assert(x) ((void)((x) || (abort(), 0)))