Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dschmidt/libcrashreporter-qt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeo Mrnjavac <teo@kde.org>2016-03-25 13:12:26 +0300
committerTeo Mrnjavac <teo@kde.org>2016-03-25 13:43:35 +0300
commit807ecdfd63ab3a32ed6a2889774443159e44f2fe (patch)
tree8163b1599b30cd696f59a9e3c333bb100f6dd222
parent53a024a4de2b6e673213874f0c32f403eeb4e990 (diff)
Fix build.
-rw-r--r--src/libcrashreporter-gui/CrashReporterGzip.cpp1
-rw-r--r--src/libcrashreporter-handler/Handler.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libcrashreporter-gui/CrashReporterGzip.cpp b/src/libcrashreporter-gui/CrashReporterGzip.cpp
index 9c5e5bd..df144a7 100644
--- a/src/libcrashreporter-gui/CrashReporterGzip.cpp
+++ b/src/libcrashreporter-gui/CrashReporterGzip.cpp
@@ -19,6 +19,7 @@
#include "CrashReporterGzip.h"
+#include <numeric>
// code taken from http://stackoverflow.com/questions/20734831/compress-string-with-gzip-using-qcompress
static const quint32 crc_32_tab[] = { /* CRC polynomial 0xedb88320 */
diff --git a/src/libcrashreporter-handler/Handler.cpp b/src/libcrashreporter-handler/Handler.cpp
index ec514ad..c1380e7 100644
--- a/src/libcrashreporter-handler/Handler.cpp
+++ b/src/libcrashreporter-handler/Handler.cpp
@@ -293,6 +293,7 @@ Handler::setCrashReporter( const QString& crashReporter )
}
+#ifdef Q_OS_LINUX
void
Handler::setApplicationData( const QCoreApplication* app )
{
@@ -320,6 +321,7 @@ Handler::setApplicationData( const QCoreApplication* app )
m_signalNumber = -1;
m_threadId = -1;
}
+#endif
Handler::~Handler()