1
0
mirror of https://git.code.sf.net/p/mingw-w64/mingw-w64 synced 2025-04-18 17:44:18 +03:00

headers/crt: Add _wcreate_locale declaration

This function is available since MSVCR110.

Required for https://sourceforge.net/p/mingw-w64/mailman/message/59164037/

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Co-authored-by: LIU Hao <lh_mouse@126.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
This commit is contained in:
Biswapriyo Nath 2025-03-23 08:45:03 +00:00 committed by LIU Hao
parent dc69654d1b
commit 90da6c6535
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View File

@ -103,6 +103,10 @@ extern "C" {
_CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale);
#endif
#if __MSVCRT_VERSION__ >= 0xB00
_CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale);
#endif
#ifdef __CHAR_UNSIGNED__
/* Pull in the constructor from 'charmax.c'. */
extern int __mingw_initcharmax;

View File

@ -202,6 +202,10 @@ _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index);
_CRTIMP wchar_t *__cdecl _wsetlocale(int _Category,const wchar_t *_Locale);
#endif
#if __MSVCRT_VERSION__ >= 0xB00
_CRTIMP _locale_t __cdecl _wcreate_locale(int _Category, const wchar_t *_Locale);
#endif
#ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
#ifndef _WEXEC_DEFINED
#define _WEXEC_DEFINED