X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=include%2Fntdll%2Fntdll.h;h=6c96a3329486c299d48f652418092a1deead80de;hp=83eb715553c2d1a2f0140a06b034bcc693f13857;hb=HEAD;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/include/ntdll/ntdll.h b/include/ntdll/ntdll.h index 83eb715..6c96a33 100644 --- a/include/ntdll/ntdll.h +++ b/include/ntdll/ntdll.h @@ -3,12 +3,16 @@ #define UNIMPLEMENTED DbgPrint("%s in %s:%d is unimplemented\n",__FUNCTION__,__FILE__,__LINE__); +#ifndef __USE_W32API + #ifndef NASSERT #define assert(x) if (!(x)) {DbgPrint("Assertion "#x" failed at %s:%d\n", __FILE__,__LINE__); for(;;);} #else #define assert(x) #endif +#endif + #ifdef NDEBUG #define DPRINT(args...) #define CHECKPOINT