X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Flogdebug.h;h=80cb1c93f45570cd00cba262a0a933fdf0c4b70d;hb=45c96f859e03b62e366037052f4cb348c2323865;hp=13d3b82bdb5b2f918140187c36b5dc33b777b5fb;hpb=510431249326d5a44fc502ed5cf798b79a442ce8;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/logdebug.h b/KernelLand/Kernel/include/logdebug.h index 13d3b82b..80cb1c93 100644 --- a/KernelLand/Kernel/include/logdebug.h +++ b/KernelLand/Kernel/include/logdebug.h @@ -56,7 +56,7 @@ extern void Debug_HexDump(const char *Header, const void *Data, size_t Length); # define LEAVE_RET(_t,_v...) return (_v) # define LEAVE_RET0() return #endif -#if SANITY +#if !DISABLE_ASSERTS # define ASSERT(expr) do{if(!(expr))Panic("%s:%i - %s: Assertion '"#expr"' failed",__FILE__,__LINE__,(char*)__func__);}while(0) #else # define ASSERT(expr)