Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature-vt/sys/include/ape/assert.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#pragma lib "/$M/lib/ape/libap.a"
2
 
3
#undef assert
4
#ifdef NDEBUG
5
#define assert(ignore) ((void)0)
6
#else
7
#ifdef __cplusplus
8
extern "C" {
9
#endif
10
 
11
extern void _assert(char *, unsigned);
12
 
13
#ifdef __cplusplus
14
}
15
#endif
16
#define assert(e) {if(!(e))_assert(__FILE__, __LINE__);}
17
#endif /* NDEBUG */