Skip to content
Permalink
Browse files

Mingw fixes

  • Loading branch information
nyalldawson committed Nov 7, 2017
1 parent 89bfe40 commit e47479b325d62860bed8be0b9730e47f2a18a6bc
Showing with 3 additions and 5 deletions.
  1. +2 −2 src/CMakeLists.txt
  2. +1 −3 src/crashhandler/qgsstacktrace.h
@@ -9,9 +9,9 @@ IF (WITH_GUI)
ENDIF (WITH_GUI)
ADD_SUBDIRECTORY(providers)
ADD_SUBDIRECTORY(crssync)
IF(WIN32)
IF(WIN32 AND NOT MINGW)
ADD_SUBDIRECTORY(crashhandler)
ENDIF(WIN32)
ENDIF(WIN32 AND NOT MINGW)
ADD_SUBDIRECTORY(test)

IF (WITH_DESKTOP)
@@ -71,15 +71,13 @@ class QgsStackTrace
#ifdef _MSC_VER
HANDLE process;
HANDLE thread;
#endif

#ifdef Q_OS_WIN
/**
* Return a demangled stack backtrace of the caller function.
*
* \since QGIS 3.0
*/
static QgsStackTrace* trace( DWORD processID, DWORD threadID, struct _EXCEPTION_POINTERS *ExceptionInfo, QString symbolPath );
static QgsStackTrace *trace( DWORD processID, DWORD threadID, struct _EXCEPTION_POINTERS *ExceptionInfo, QString symbolPath );
#endif

#ifdef Q_OS_LINUX

0 comments on commit e47479b

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