From 11cab9f5a2594ca2ead3942caa9722d8d5f57e6b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 2 Dec 2002 22:58:03 +0000 Subject: [PATCH] temporarily disable asserts; they need debug CRTs. (They'll come back shortly, when I reenable the crash handler ...) --- stepmania/src/RageException.h | 8 ++++---- stepmania/src/StdString.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageException.h b/stepmania/src/RageException.h index 754917a2fd..1fcb728270 100644 --- a/stepmania/src/RageException.h +++ b/stepmania/src/RageException.h @@ -36,10 +36,10 @@ protected: //#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 +#ifdef ASSERT +#undef ASSERT +#endif +#define ASSERT(x) ; #endif diff --git a/stepmania/src/StdString.h b/stepmania/src/StdString.h index db289ab23b..db99029cdf 100644 --- a/stepmania/src/StdString.h +++ b/stepmania/src/StdString.h @@ -369,6 +369,8 @@ inline const Type& SSMAX(const Type& arg1, const Type& arg2) #endif #endif // #ifndef W32BASE_H +#undef ASSERT +#define ASSERT(x) ; // Standard headers needed