mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
fix release build on windows
(cherry picked from commit a0a0392159fba7639f4811f70826a2c6d66a13f9)
This commit is contained in:
parent
b7f7bd106c
commit
ec17f0fa34
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user