mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Set sane abort() default behaviour when using msvcrt.
This commit is contained in:
parent
a094332b0d
commit
06f43892a5
|
@ -1437,6 +1437,9 @@ int __acc_cdecl_main main(int argc, char *argv[])
|
|||
#if 0 && defined(__DJGPP__)
|
||||
// LFN=n may cause problems with 2.03's _rename and mkdir under WinME
|
||||
putenv("LFN=y");
|
||||
#endif
|
||||
#if (ACC_OS_WIN32 || ACC_OS_WIN64) && (ACC_CC_MSC) && defined(_WRITE_ABORT_MSG) && defined(_CALL_REPORTFAULT)
|
||||
_set_abort_behavior(_WRITE_ABORT_MSG, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
|
||||
#endif
|
||||
acc_wildargv(&argc, &argv);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user