Skip to content

Commit a0a0392

Browse files
committedFeb 23, 2018
fix release build on windows
1 parent 0def61c commit a0a0392

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed
 

‎src/core/qgsstacktrace.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717

1818
#include <QVector>
1919

20-
#ifdef QGISDEBUG
2120
#ifdef WIN32
2221
#include <windows.h>
2322
#include <dbghelp.h>
2423
#endif
25-
#endif
2624

2725
#include "qgis.h"
2826

‎src/crashhandler/qgsstacktrace.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -772,9 +772,6 @@ void getStackTrace( StackTrace *stackTrace, QString symbolPath, QgsStackTrace *t
772772
QgsStackTrace *QgsStackTrace::trace( DWORD processId, DWORD threadId, LPEXCEPTION_POINTERS exception, QString symbolPath )
773773
{
774774
QgsStackTrace *trace = new QgsStackTrace();
775-
#ifndef QGISDEBUG
776-
return stack;
777-
#endif
778775
EXCEPTION_POINTERS remoteException = { 0 };
779776
CONTEXT remoteContextRecord = { 0 };
780777

‎src/crashhandler/qgsstacktrace.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
#include <QVector>
2020
#include "qgsconfig.h"
2121

22-
#ifdef QGISDEBUG
2322
#ifdef WIN32
2423
#include <windows.h>
2524
#include <dbghelp.h>
2625
#endif
27-
#endif
2826

2927
#include <QStringList>
3028

0 commit comments

Comments
 (0)
Please sign in to comment.