moved comment
This commit is contained in:
parent
0d9daaa18d
commit
e71c873fc1
|
@ -6,10 +6,10 @@
|
||||||
/* A S S E R T I O N M A C R O D E F I N I T I O N */
|
/* A S S E R T I O N M A C R O D E F I N I T I O N */
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
/* Note: this macro uses parameter substitution inside strings */
|
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
#define assert(exp) (exp || _BadAssertion(__FILE__, __LINE__, #exp))
|
#define assert(exp) (exp || _BadAssertion(__FILE__, __LINE__, #exp))
|
||||||
#else
|
#else
|
||||||
|
/* Note: this macro uses parameter substitution inside strings */
|
||||||
#define assert(exp) (exp || _BadAssertion(__FILE__, __LINE__, "exp"))
|
#define assert(exp) (exp || _BadAssertion(__FILE__, __LINE__, "exp"))
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue