From e54937ec3ef04ab80000b60c5a8f39a548b4aec5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath <nathbap...@gmail.com> Date: Sun, 23 Mar 2025 08:45:03 +0000 Subject: [PATCH] headers/crt: Add _wcreate_locale declaration
Required for https://sourceforge.net/p/mingw-w64/mailman/message/59164037/ Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com> --- mingw-w64-headers/crt/locale.h | 2 ++ mingw-w64-headers/crt/wchar.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mingw-w64-headers/crt/locale.h b/mingw-w64-headers/crt/locale.h index 9b695e3..6bea1dc 100644 --- a/mingw-w64-headers/crt/locale.h +++ b/mingw-w64-headers/crt/locale.h @@ -103,6 +103,8 @@ extern "C" { _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); #endif + _CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale); + #ifdef __CHAR_UNSIGNED__ /* Pull in the constructor from 'charmax.c'. */ extern int __mingw_initcharmax; diff --git a/mingw-w64-headers/crt/wchar.h b/mingw-w64-headers/crt/wchar.h index e8228b8..b999d9f 100644 --- a/mingw-w64-headers/crt/wchar.h +++ b/mingw-w64-headers/crt/wchar.h @@ -202,6 +202,8 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index); _CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale); #endif + _CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale); + #ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP #ifndef _WEXEC_DEFINED #define _WEXEC_DEFINED -- 2.49.0
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public