mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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
|
||||
#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
|
||||
#define assert(x)
|
||||
#define ASSERT(x)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue