conclusion
This commit is contained in:
parent
0f97a589b8
commit
9bc8a11afe
1069 changed files with 48694 additions and 11 deletions
17
05/musl-0.6.0/include/assert.h
Normal file
17
05/musl-0.6.0/include/assert.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#undef assert
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define assert(x) (void)0
|
||||
#else
|
||||
#define assert(x) ((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void __assert_fail (const char *, const char *, int, const char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue