Hi,

I am currently looking at emulating
_locale_t _get_current_locale(void);

We were previously hacking around this by just returning 0 cast as
_locale_t in msys2
This is obviously incorrect and any sane c++ tries to check multiple times
with that result.

What would be the correct way to emulate this in mingw-w64 without
affecting or clashing with the internal windows value
Can we do a wrapper that tries to check the real value on windows and if
that doesn't work return a default value?

Jacek do you have any insight here?

Best,
Martell
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to