X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fcommon.h;h=1be86ffeb366a93ce8fcd277132d8cfab61c4edc;hb=54ee7218058b4285be6b02195cba4e90c4e12a2d;hp=360f99adde3022bf51a79c65b32831462256bd89;hpb=f5c5d4bd1b3a32db4e8b115d2c71773dd58d77bf;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/include/common.h b/Usermode/Applications/axwin3_src/WM/include/common.h index 360f99ad..1be86ffe 100644 --- a/Usermode/Applications/axwin3_src/WM/include/common.h +++ b/Usermode/Applications/axwin3_src/WM/include/common.h @@ -12,6 +12,8 @@ #define TODO(str) +#define ASSERT(expr) do{if(!(expr)){_SysDebug("%s:%i - ASSERTION FAILED: "#expr, __FILE__, __LINE__);exit(-1);}}while(0) + #define UNIMPLEMENTED() do{_SysDebug("TODO: Implement %s", __func__); for(;;);}while(0) #define AXWIN_VERSION 0x300