From 8ebdf70b9ca9be802460a3f1f055477b16282222 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 16 Feb 2003 02:33:10 +0000 Subject: [PATCH] update --- stepmania/src/StdAfx.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/src/StdAfx.h b/stepmania/src/StdAfx.h index 6ae4ce43cb..d8455fbe60 100644 --- a/stepmania/src/StdAfx.h +++ b/stepmania/src/StdAfx.h @@ -67,6 +67,8 @@ using namespace std; #include /* 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. */