From 988e1729f9af4ef882d19608cedc9efe84f9d37a Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 20 Mar 2006 06:45:58 +0000 Subject: [PATCH] Namespace --- stepmania/src/archutils/Unix/AssertionHandler.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/archutils/Unix/AssertionHandler.cpp b/stepmania/src/archutils/Unix/AssertionHandler.cpp index 5ed28f227a..cb8ad983ef 100644 --- a/stepmania/src/archutils/Unix/AssertionHandler.cpp +++ b/stepmania/src/archutils/Unix/AssertionHandler.cpp @@ -1,5 +1,6 @@ #include "global.h" #include "RageUtil.h" +#include "RageException.h" #include "archutils/Unix/EmergencyShutdown.h" #include #include @@ -18,7 +19,7 @@ extern "C" void __assert_fail( const char *assertion, const char *file, unsigned #else /* It'd be nice to just throw an exception here, but throwing an exception * through C code sometimes explodes. */ - HandleException( error ); + RageException::CallCleanupHandler( error ); DoEmergencyShutdown(); @@ -35,7 +36,7 @@ extern "C" void __assert_perror_fail( int errnum, const char *file, unsigned int Checkpoints::SetCheckpoint( file, line, error ); sm_crash( strerror(errnum) ); #else - HandleException( error ); + RageException::CallCleanupHandler( error ); DoEmergencyShutdown(); @@ -57,7 +58,7 @@ void UnexpectedExceptionHandler() #if defined(CRASH_HANDLER) sm_crash( error ); #else - HandleException( error ); + RageException::CallCleanupHandler( error ); #endif }