diff options
author | Teo Mrnjavac <teo@kde.org> | 2016-03-25 13:12:26 +0300 |
---|---|---|
committer | Teo Mrnjavac <teo@kde.org> | 2016-03-25 13:43:35 +0300 |
commit | 807ecdfd63ab3a32ed6a2889774443159e44f2fe (patch) | |
tree | 8163b1599b30cd696f59a9e3c333bb100f6dd222 | |
parent | 53a024a4de2b6e673213874f0c32f403eeb4e990 (diff) |
Fix build.
-rw-r--r-- | src/libcrashreporter-gui/CrashReporterGzip.cpp | 1 | ||||
-rw-r--r-- | src/libcrashreporter-handler/Handler.cpp | 2 |
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() |