This function has existed in import libs and in special cased helper functions with GetProcAddress for a decade, but has been missing from public headers.
Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-headers/crt/locale.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mingw-w64-headers/crt/locale.h b/mingw-w64-headers/crt/locale.h index 336429fba..068f456c5 100644 --- a/mingw-w64-headers/crt/locale.h +++ b/mingw-w64-headers/crt/locale.h @@ -86,6 +86,8 @@ extern "C" { _locale_t __cdecl __create_locale(int _Category,const char *_Locale); void __cdecl __free_locale(_locale_t _Locale); + _CRTIMP unsigned int __cdecl ___lc_codepage_func(void); + #ifndef _WLOCALE_DEFINED #define _WLOCALE_DEFINED _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); -- 2.17.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
