diff options
-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() |