mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
Define ASSERT macro.
svn path=/trunk/; revision=11386
This commit is contained in:
parent
72aae9d8ca
commit
1e9ad342c8
1 changed files with 2 additions and 0 deletions
|
@ -7,8 +7,10 @@
|
||||||
|
|
||||||
#ifndef NASSERT
|
#ifndef NASSERT
|
||||||
#define assert(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d\n", __FILE__,__LINE__); for(;;);}
|
#define assert(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d\n", __FILE__,__LINE__); for(;;);}
|
||||||
|
#define ASSERT(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d\n", __FILE__,__LINE__); for(;;);}
|
||||||
#else
|
#else
|
||||||
#define assert(x)
|
#define assert(x)
|
||||||
|
#define ASSERT(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue