#include <signal.h>
-#ifndef Q_OS_WIN32
+#if not defined(Q_OS_WIN32) && not defined(MAC_10_4_SDK)
#include <execinfo.h>
#include <dlfcn.h>
#include <cxxabi.h>
QCoreApplication::quit();
}
-#ifndef Q_OS_WIN32
+#if not defined(Q_OS_WIN32) && not defined(MAC_10_4_SDK)
void handle_crash(int sig) {
void* callstack[128];
int i, frames = backtrace(callstack, 128);
signal(SIGTERM, handle_signal);
signal(SIGINT, handle_signal);
-#ifndef Q_OS_WIN32
+#if not defined(Q_OS_WIN32) && not defined(MAC_10_4_SDK)
signal(SIGABRT, handle_crash);
signal(SIGBUS, handle_crash);
signal(SIGSEGV, handle_crash);