mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +02:00
- fixed cmake build to work again with mingw
This commit is contained in:
@@ -127,7 +127,7 @@ void PlatformExceptionHandler::install(string dumpFileName){
|
||||
string PlatformExceptionHandler::getStackTrace() {
|
||||
string result = "\nStack Trace:\n";
|
||||
|
||||
|
||||
#ifndef __MINGW32__
|
||||
/*
|
||||
unsigned int i;
|
||||
const int max_stack_count = 25;
|
||||
@@ -230,7 +230,8 @@ string PlatformExceptionHandler::getStackTrace() {
|
||||
} while (fSuccess);
|
||||
|
||||
SymCleanup(hProcess);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user