projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bad2ccd04cf3bbc9abe39c2f26ef9b8680d60a9e
[musl]
/
include
/
assert.h
1
#undef assert
2
3
#ifdef NDEBUG
4
#define assert(x) (void)0
5
#else
6
#define assert(x) ((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))
7
#endif
8
9
#ifdef __cplusplus
10
extern "C" {
11
#endif
12
13
void __assert_fail (const char *, const char *, int, const char *);
14
15
#ifdef __cplusplus
16
}
17
#endif