Windows: disable message box from system errors
For example, disable a message box for DLL links errors.
This commit is contained in:
parent
a2122418ae
commit
1b7819dcd5
|
@ -303,6 +303,8 @@ static __declspec(thread) void *tls_space;
|
|||
#ifdef DOS_FILE_SYSTEM
|
||||
void load_delayed()
|
||||
{
|
||||
(void)SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
|
||||
/* Order matters: load dependencies first */
|
||||
# ifndef MZ_PRECISE_GC
|
||||
load_delayed_dll(NULL, "libmzgcxxxxxxx.dll");
|
||||
|
|
Loading…
Reference in New Issue
Block a user