projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
simplify pthread_key_delete
[oweals/musl.git]
/
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