6 lines
176 B
C
6 lines
176 B
C
#ifndef NDEBUG
|
|
#define assert(statement) ((statement) ? (void)0 : __assert_func(__FILE__, __LINE__, __FUNCTION__, #statement))
|
|
#else
|
|
#define assert(statement) ((void)0)
|
|
#endif
|