From 1e9ad342c8bccea2db36657011c3584150ca48dd Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Fri, 22 Oct 2004 20:04:05 +0000 Subject: [PATCH] Define ASSERT macro. svn path=/trunk/; revision=11386 --- reactos/include/ntdll/ntdll.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/include/ntdll/ntdll.h b/reactos/include/ntdll/ntdll.h index f87c2c019a1..8c2aaeeb5cd 100644 --- a/reactos/include/ntdll/ntdll.h +++ b/reactos/include/ntdll/ntdll.h @@ -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