On 17.11.2017 10:12, Martin Storsjö wrote:
> +  HANDLE ucrt;
> +
> +  ucrt = GetModuleHandle("ucrtbase.dll");
> +  real__tzset = (void __cdecl (*)(void)) GetProcAddress(ucrt, "_tzset");


Can we get away without GetModuleHandle()/GetProcAddress()? For example:
keep _tzset in .def file and call it using __MINGW_IMP_SYMBOL in the hook?


Thanks,

Jacek


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to