break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
extern "C" void __assert_fail( const char *assertion, const char *file, unsigned int line, const char *function ) throw()
|
||||
{
|
||||
const CString error = ssprintf( "Assertion failure: %s: %s", function, assertion );
|
||||
const RString error = ssprintf( "Assertion failure: %s: %s", function, assertion );
|
||||
|
||||
#if defined(CRASH_HANDLER)
|
||||
Checkpoints::SetCheckpoint( file, line, error );
|
||||
@@ -30,7 +30,7 @@ extern "C" void __assert_fail( const char *assertion, const char *file, unsigned
|
||||
|
||||
extern "C" void __assert_perror_fail( int errnum, const char *file, unsigned int line, const char *function ) throw()
|
||||
{
|
||||
const CString error = ssprintf( "Assertion failure: %s: %s", function, strerror(errnum) );
|
||||
const RString error = ssprintf( "Assertion failure: %s: %s", function, strerror(errnum) );
|
||||
|
||||
#if defined(CRASH_HANDLER)
|
||||
Checkpoints::SetCheckpoint( file, line, error );
|
||||
|
||||
Reference in New Issue
Block a user