View | Details | Raw Unified | Return to bug 186261 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-src__main__main.cpp (+20 lines)
Line 0 Link Here
1
--- ./src/main/main.cpp.orig	2014-01-26 16:37:32.000000000 +0330
2
+++ ./src/main/main.cpp	2014-01-26 16:38:46.000000000 +0330
3
@@ -20,7 +20,7 @@
4
 
5
 #include <QMessageBox> // For QT_REQUIRE_VERSION
6
 
7
-#if defined(Q_OS_LINUX) || defined(__GLIBC__)
8
+#if defined(Q_OS_LINUX) || defined(__FreeBSD__)
9
 #include <iostream>
10
 #include <signal.h>
11
 #include <execinfo.h>
12
@@ -175,7 +175,7 @@
13
     QApplication::setGraphicsSystem("raster"); // Better overall performance on X11
14
 #endif
15
 
16
-#if defined(Q_OS_LINUX) || defined(__GLIBC__)
17
+#if defined(Q_OS_LINUX) || defined(__FreeBSD__)
18
     signal(SIGSEGV, qupzilla_signal_handler);
19
     signal(SIGPIPE, qupzilla_signal_handler);
20
 #endif

Return to bug 186261