projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make quassel compile in deploy mode again (mac os x only)
[quassel.git]
/
src
/
common
/
main.cpp
diff --git
a/src/common/main.cpp
b/src/common/main.cpp
index
8c62ac0
..
5ce1ac9
100644
(file)
--- a/
src/common/main.cpp
+++ b/
src/common/main.cpp
@@
-54,7
+54,7
@@
#include <signal.h>
#include <signal.h>
-#if
ndef Q_OS_WIN32
+#if
not defined(Q_OS_WIN32) && not defined(MAC_10_4_SDK)
#include <execinfo.h>
#include <dlfcn.h>
#include <cxxabi.h>
#include <execinfo.h>
#include <dlfcn.h>
#include <cxxabi.h>
@@
-66,7
+66,7
@@
void handle_signal(int sig) {
QCoreApplication::quit();
}
QCoreApplication::quit();
}
-#if
ndef 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);
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);
signal(SIGTERM, handle_signal);
signal(SIGINT, handle_signal);
-#if
ndef 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);
signal(SIGABRT, handle_crash);
signal(SIGBUS, handle_crash);
signal(SIGSEGV, handle_crash);