This commit is contained in:
Glenn Maynard
2003-02-16 02:33:10 +00:00
parent 48ddbf625c
commit 8ebdf70b9c
+7
View File
@@ -67,6 +67,8 @@ using namespace std;
#include <assert.h>
/* TODO: define RAGE_ASSERT* (nothing actually uses those right now) */
#define ASSERT assert
#define RAGE_ASSERT_M(COND, MESSAGE) ASSERT(COND)
#define RAGE_ASSERT(COND) RAGE_ASSERT_M((COND), "Assertion '" #COND "' failed")
#endif
/* Define a macro to tell the compiler that a function doesn't return. This just
@@ -115,6 +117,11 @@ inline const T& min(const T &a, const T &b, P Pr)
#include "archutils/Win32/arch_setup.h"
#endif
#if !defined(WIN32)
#define stricmp strcasecmp
#define strnicmp strncasecmp
#endif
/* Don't include our own headers here, since they tend to change
* often. */