X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Flogdebug.h;h=80cb1c93f45570cd00cba262a0a933fdf0c4b70d;hb=8c2139762f72576650cb5d07f5d9152b781e2643;hp=13d3b82bdb5b2f918140187c36b5dc33b777b5fb;hpb=33de4e7776814ede6263b6563f5b8ff3ff20e33e;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)