mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-22 03:39:03 +00:00
lib/Support/Windows/Signals.inc: "Showstopper" dialogs may be suppressed with SetErrorMode() on Windows 7.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
390b9f00eb
commit
ac25e44d89
@ -112,6 +112,9 @@ static void RegisterHandler() {
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
_CrtSetReportHook(CRTReportHook);
|
_CrtSetReportHook(CRTReportHook);
|
||||||
#endif
|
#endif
|
||||||
|
SetErrorMode(SEM_FAILCRITICALERRORS |
|
||||||
|
SEM_NOGPFAULTERRORBOX |
|
||||||
|
SEM_NOOPENFILEERRORBOX);
|
||||||
ExitOnUnhandledExceptions = true;
|
ExitOnUnhandledExceptions = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user