mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-20 05:04:53 -04:00
minidump integration
This commit is contained in:
parent
96eaeb4851
commit
b459f2010e
9 changed files with 130 additions and 21 deletions
10
platform/seh.h
Normal file
10
platform/seh.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include "windows/minidump.h"
|
||||
#define SEH_MONITOR_BEGIN __try
|
||||
#define SEH_MONITOR_END __except(GenerateMinidumpAndExit(GetExceptionInformation())) {}
|
||||
#else
|
||||
#define SEH_TRY
|
||||
#define SEH_CATCH
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue