Skip to content
Permalink
Browse files

fix release build on windows

  • Loading branch information
jef-n committed Feb 23, 2018
1 parent 0def61c commit a0a0392159fba7639f4811f70826a2c6d66a13f9
Showing with 0 additions and 7 deletions.
  1. +0 −2 src/core/qgsstacktrace.cpp
  2. +0 −3 src/crashhandler/qgsstacktrace.cpp
  3. +0 −2 src/crashhandler/qgsstacktrace.h
@@ -17,12 +17,10 @@

#include <QVector>

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

#include "qgis.h"

@@ -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 };

@@ -19,12 +19,10 @@
#include <QVector>
#include "qgsconfig.h"

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

#include <QStringList>

0 comments on commit a0a0392

Please sign in to comment.
You can’t perform that action at this time.