From a8f8cec2a42c811eb85f8d28e221ee9c6b17285a Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 17 Jun 2005 19:27:49 +0000 Subject: [PATCH] Be W32API friendly. svn path=/trunk/; revision=16009 --- reactos/ntoskrnl/include/internal/debug.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/ntoskrnl/include/internal/debug.h b/reactos/ntoskrnl/include/internal/debug.h index cfc177c3eec..7e7e82abad2 100644 --- a/reactos/ntoskrnl/include/internal/debug.h +++ b/reactos/ntoskrnl/include/internal/debug.h @@ -33,6 +33,7 @@ #ifdef DBG +#ifndef __USE_W32API /* Assert only on "checked" version */ #ifndef NASSERT #ifdef CONFIG_SMP @@ -65,6 +66,7 @@ #define ASSERTMSG(_c_, _m_) #endif +#endif /* !__USE_W32API */ /* Print if using a "checked" version */ #ifdef __GNUC__ /* using GNU C/C99 macro ellipsis */ @@ -83,10 +85,12 @@ #define CPRINT(args...) #define DPRINT1(args...) +#ifndef __USE_W32API #define assert(x) #define ASSERT(x) #define assertmsg(_c_, _m_) #define ASSERTMSG(_c_, _m_) +#endif /* !__USE_W32API */ #endif /* DBG */