Skip to content

Commit

Permalink
fix release build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 23, 2018
1 parent 0def61c commit a0a0392
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/core/qgsstacktrace.cpp
Expand Up @@ -17,12 +17,10 @@

#include <QVector>

#ifdef QGISDEBUG
#ifdef WIN32
#include <windows.h>
#include <dbghelp.h>
#endif
#endif

#include "qgis.h"

Expand Down
3 changes: 0 additions & 3 deletions src/crashhandler/qgsstacktrace.cpp
Expand Up @@ -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 };

Expand Down
2 changes: 0 additions & 2 deletions src/crashhandler/qgsstacktrace.h
Expand Up @@ -19,12 +19,10 @@
#include <QVector>
#include "qgsconfig.h"

#ifdef QGISDEBUG
#ifdef WIN32
#include <windows.h>
#include <dbghelp.h>
#endif
#endif

#include <QStringList>

Expand Down

0 comments on commit a0a0392

Please sign in to comment.