1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Enable wildcard expansion on newer mingw versions.

This commit is contained in:
Markus F.X.J. Oberhumer 2017-01-15 15:46:22 +01:00
parent acd99364e0
commit 45ddd6a68d

View File

@ -1399,6 +1399,9 @@ __acc_static_noinline void upx_sanity_check(void)
#if (ACC_ARCH_M68K && ACC_OS_TOS && ACC_CC_GNUC) && defined(__MINT__)
extern "C" { extern long _stksize; long _stksize = 256 * 1024L; }
#endif
#if (ACC_OS_WIN32 || ACC_OS_WIN64) && (defined(__MINGW32__) || defined(__MINGW64__))
extern "C" { extern int _dowildcard; int _dowildcard = -1; }
#endif
int __acc_cdecl_main main(int argc, char *argv[])
{