Breakpad: now working Mac OS X

This commit is contained in:
Latif Khalifa
2013-10-02 04:14:58 +02:00
parent c8cb600ba6
commit 399a0038cb
2 changed files with 2 additions and 14 deletions

View File

@@ -69,19 +69,6 @@ namespace
}
}
static void exceptionTerminateHandler()
{
// reinstall default terminate() handler in case we re-terminate.
if (gOldTerminateHandler) std::set_terminate(gOldTerminateHandler);
// treat this like a regular viewer crash, with nice stacktrace etc.
long *null_ptr;
null_ptr = 0;
*null_ptr = 0xDEADBEEF; //Force an exception that will trigger breakpad.
//LLAppViewer::handleViewerCrash();
// we've probably been killed-off before now, but...
gOldTerminateHandler(); // call old terminate() handler
}
int main( int argc, char **argv )
{
#if LL_SOLARIS && defined(__sparc)

View File

@@ -522,7 +522,8 @@ class DarwinManifest(ViewerManifest):
"libaprutil-1.0.dylib",
"libcollada14dom.dylib",
"libexpat.1.5.2.dylib",
"libGLOD.dylib"):
"libGLOD.dylib",
"libexception_handler.dylib"):
self.path(os.path.join(libdir, libfile), libfile)
# For using FMOD for sound...but, fmod is proprietary so some might not use it...