aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Windows/Signals.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Windows/Signals.inc')
-rw-r--r--lib/Support/Windows/Signals.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Windows/Signals.inc b/lib/Support/Windows/Signals.inc
index c0e3eca..14f3f21 100644
--- a/lib/Support/Windows/Signals.inc
+++ b/lib/Support/Windows/Signals.inc
@@ -112,6 +112,9 @@ static void RegisterHandler() {
#ifdef _MSC_VER
_CrtSetReportHook(CRTReportHook);
#endif
+ SetErrorMode(SEM_FAILCRITICALERRORS |
+ SEM_NOGPFAULTERRORBOX |
+ SEM_NOOPENFILEERRORBOX);
ExitOnUnhandledExceptions = true;
}