- fixed cmake build to work again with mingw

This commit is contained in:
Mark Vejvoda
2012-04-24 03:52:06 +00:00
parent c60900b4f5
commit e5d1cada0e
3 changed files with 69 additions and 60 deletions

View File

@@ -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;
}