X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=5ce1ac9ccaf33cf0f31e19b5e6d2e3b7c3798180;hp=8c62ac0a4f9600637ee45eb66305fccf5ec68d09;hb=4cf82c9e10e1301ddfc47e5ac23e22b96ffb0bf3;hpb=941ce3313abaa594ee92954160a4ad580dc58d7d diff --git a/src/common/main.cpp b/src/common/main.cpp index 8c62ac0a..5ce1ac9c 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -54,7 +54,7 @@ #include -#ifndef Q_OS_WIN32 +#if not defined(Q_OS_WIN32) && not defined(MAC_10_4_SDK) #include #include #include @@ -66,7 +66,7 @@ void handle_signal(int sig) { 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); @@ -136,7 +136,7 @@ int main(int argc, char **argv) { 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);