On 07.11.2017 13:48, Martin Storsjö wrote:
> This avoids having libmingwex refer to the dllimported data symbol
> from msvcrt.dll, easing linking to ucrtbase.dll which doesn't have
> it exported as a data symbol.
>
> ___mb_cur_max_func didn't exist in msvcrt.dll until Windows XP,
> while __mb_cur_max existed already in Windows 2000. Since we require
> at least XP now, we can simplify this by using ___mb_cur_max_func
> directly. This allows simplifying the ucrtbase compatibility
> wrapper.

Looks good to me.

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