2011-03-30 13:47:56 +00:00
|
|
|
#pragma lib "/$M/lib/ape/libap.a"
|
|
|
|
|
|
|
|
#undef assert
|
|
|
|
#ifdef NDEBUG
|
|
|
|
#define assert(ignore) ((void)0)
|
|
|
|
#else
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern void _assert(char *, unsigned);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2018-04-03 04:44:21 +00:00
|
|
|
#define assert(e) ((e) ? (void)0 : _assert(__FILE__, __LINE__))
|
2011-03-30 13:47:56 +00:00
|
|
|
#endif /* NDEBUG */
|