fix release build on windows

(cherry picked from commit a0a0392159fba7639f4811f70826a2c6d66a13f9)
This commit is contained in:
Juergen E. Fischer 2018-02-23 18:00:09 +01:00
parent b7f7bd106c
commit ec17f0fa34
3 changed files with 0 additions and 7 deletions

View File

@ -17,12 +17,10 @@
#include <QVector>
#ifdef QGISDEBUG
#ifdef WIN32
#include <windows.h>
#include <dbghelp.h>
#endif
#endif
#include "qgis.h"

View File

@ -772,9 +772,6 @@ void getStackTrace( StackTrace *stackTrace, QString symbolPath, QgsStackTrace *t
QgsStackTrace *QgsStackTrace::trace( DWORD processId, DWORD threadId, LPEXCEPTION_POINTERS exception, QString symbolPath )
{
QgsStackTrace *trace = new QgsStackTrace();
#ifndef QGISDEBUG
return stack;
#endif
EXCEPTION_POINTERS remoteException = { 0 };
CONTEXT remoteContextRecord = { 0 };

View File

@ -19,12 +19,10 @@
#include <QVector>
#include "qgsconfig.h"
#ifdef QGISDEBUG
#ifdef WIN32
#include <windows.h>
#include <dbghelp.h>
#endif
#endif
#include <QStringList>