Make RAGE_ASSERT the default assert handler.

This commit is contained in:
Glenn Maynard
2002-09-08 23:30:23 +00:00
parent 8c79e2e556
commit 1b435bd2b7
+6
View File
@@ -34,4 +34,10 @@ protected:
#define RAGE_ASSERT_M(COND, MESSAGE) { if(!(COND)) { VDCHECKPOINT_M(MESSAGE); *(char*)0=0; } }
#define RAGE_ASSERT(COND) RAGE_ASSERT_M((COND), "Assertion failure")
/* Make this the default assert handler. */
#ifdef ASSERT
#undef ASSERT
#endif
#define ASSERT RAGE_ASSERT
#endif