mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 03:14:00 +02:00
- try to improve error handling on windows for better stack traces
This commit is contained in:
@@ -51,6 +51,9 @@ public:
|
||||
virtual ~PlatformExceptionHandler() {}
|
||||
void install(string dumpFileName) {}
|
||||
virtual void handle()=0;
|
||||
#if defined(__WIN32__) && !defined(__GNUC__)
|
||||
virtual void handle(LPEXCEPTION_POINTERS pointers)=0;
|
||||
#endif
|
||||
};
|
||||
|
||||
// =====================================================
|
||||
@@ -84,6 +87,9 @@ public:
|
||||
|
||||
void install(string dumpFileName);
|
||||
virtual void handle()=0;
|
||||
#if !defined(__GNUC__)
|
||||
virtual void handle(LPEXCEPTION_POINTERS pointers)=0;
|
||||
#endif
|
||||
static string codeToStr(DWORD code);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user