summaryrefslogtreecommitdiff
path: root/src/porting.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-02-01 03:08:04 -0500
committerkwolekr <kwolekr@minetest.net>2015-02-02 01:39:17 -0500
commit43f102271dd3dc64b167ee305be5061976bd41d6 (patch)
tree25dc53b4aec9704ebff7ed0c0b4b3f3d0db2e87c /src/porting.h
parent48fa893abdaa7d7f29f7e909b326146b2f0606b9 (diff)
downloadminetest-43f102271dd3dc64b167ee305be5061976bd41d6.tar.gz
minetest-43f102271dd3dc64b167ee305be5061976bd41d6.tar.bz2
minetest-43f102271dd3dc64b167ee305be5061976bd41d6.zip
Create minidump on fatal Win32 exceptions
Remove software exception translator function, simplifying exception handler macros. FatalSystemExceptions are left unhandled.
Diffstat (limited to 'src/porting.h')
-rw-r--r--src/porting.h4
1 files changed, 4 insertions, 0 deletions
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__