Windows: disable message box from system errors

For example, disable a message box for DLL links errors.
This commit is contained in:
Matthew Flatt 2013-08-19 06:33:35 -06:00
parent a2122418ae
commit 1b7819dcd5

View File

@ -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");