Threading: Split processor support code into respective target files. C files from...
[kugel-rb.git] / firmware / include / assert.h
blob2bf3aeb6c3a47f2a72e98f5c6334410b5bdaa577
1 /*
2 assert.h
3 */
5 #undef assert
7 #ifdef NDEBUG /* required by ANSI standard */
8 #define assert(p) ((void)0)
9 #else
11 #ifdef __STDC__
12 #define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e))
13 #else /* PCC */
14 #define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, "e"))
15 #endif
17 #endif /* NDEBUG */
19 void _EXFUN(__assert,(const char *, int, const char *));