mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-14 21:20:26 +01:00
ref: implement ASSERT macro
This commit is contained in:
parent
57320c0c25
commit
db78726656
@ -35,8 +35,8 @@ GNU General Public License for more details.
|
||||
#include "cvar.h"
|
||||
#define offsetof(s,m) (size_t)&(((s *)0)->m)
|
||||
|
||||
#define ASSERT(x)
|
||||
#define Assert(x)
|
||||
#define ASSERT(x) if(!( x )) gEngfuncs.Host_Error( "assert failed at %s:%i\n", __FILE__, __LINE__ )
|
||||
#define Assert(x) if(!( x )) gEngfuncs.Host_Error( "assert failed at %s:%i\n", __FILE__, __LINE__ )
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user