X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=include%2Fdebug.h;fp=include%2Fdebug.h;h=38c9223a5c9fdc9958ef7636a1d0855ee0564bf3;hp=75d87989b979d34f6766393ffe1f8ea6ee4a111a;hb=e3ed2d773259cc445c7ff8181ebd934931365328;hpb=d378c68f5a9bb25c9e671dacd482d2e25d211df3 diff --git a/include/debug.h b/include/debug.h index 75d8798..38c9223 100644 --- a/include/debug.h +++ b/include/debug.h @@ -23,11 +23,13 @@ #define CHECKED #endif +#ifndef assert #ifndef NASSERT #define assert(x) if (!(x)) {RtlAssert("#x",__FILE__,__LINE__, ""); } #else #define assert(x) #endif +#endif #define DPRINT1(args...) do { DbgPrint("(%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0); #define CHECKPOINT1 do { DbgPrint("%s:%d\n",__FILE__,__LINE__); } while(0);