OSDN Git Service
(root)
/
nethackexpress
/
trunk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial Import
[nethackexpress/trunk.git]
/
sys
/
wince
/
ceinc
/
assert.h
1
/***
2
*assert.h - define the assert macro
3
*
4
****/
5
6
#undef assert
7
8
#ifdef NDEBUG
9
10
#define assert(exp) ((void)0)
11
12
#else
13
14
#define assert(exp) (void)( (exp) || (panic("%s at %s line %ld", #exp, __FILE__,__LINE__), 1) )
15
16
#endif /* NDEBUG */