From 43f102271dd3dc64b167ee305be5061976bd41d6 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 1 Feb 2015 03:08:04 -0500 Subject: Create minidump on fatal Win32 exceptions Remove software exception translator function, simplifying exception handler macros. FatalSystemExceptions are left unhandled. --- src/porting.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/porting.h') diff --git a/src/porting.h b/src/porting.h index e6574494a..8387453e8 100644 --- a/src/porting.h +++ b/src/porting.h @@ -419,6 +419,10 @@ inline const char * getPlatformName() void setXorgClassHint(const video::SExposedVideoData &video_data, const std::string &name); +// This only needs to be called at the start of execution, since all future +// threads in the process inherit this exception handler +void setWin32ExceptionHandler(); + } // namespace porting #ifdef __ANDROID__ -- cgit v1.2.3