Skip to content

Commit

Permalink
Mingw fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 7, 2017
1 parent 89bfe40 commit e47479b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -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)
Expand Down
4 changes: 1 addition & 3 deletions src/crashhandler/qgsstacktrace.h
Expand Up @@ -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
Expand Down

0 comments on commit e47479b

Please sign in to comment.