mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
provide ___mb_cur_max_func for i386-windows-gnu
This commit is contained in:
parent
64d0960244
commit
9ed00b3829
18
lib/libc/mingw/misc/___mb_cur_max_func.c
Normal file
18
lib/libc/mingw/misc/___mb_cur_max_func.c
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#include <_mingw.h>
|
||||
|
||||
extern int* __MINGW_IMP_SYMBOL(__mb_cur_max);
|
||||
|
||||
int __cdecl ___mb_cur_max_func(void);
|
||||
int __cdecl ___mb_cur_max_func(void)
|
||||
{
|
||||
return *__MINGW_IMP_SYMBOL(__mb_cur_max);
|
||||
}
|
||||
|
||||
typedef int __cdecl (*_f___mb_cur_max_func)(void);
|
||||
_f___mb_cur_max_func __MINGW_IMP_SYMBOL(___mb_cur_max_func) = ___mb_cur_max_func;
|
||||
@ -72,7 +72,7 @@ static const char *msvcrt_common_src[] = {
|
||||
|
||||
static const char *msvcrt_i386_src[] = {
|
||||
"misc" OS_SEP "lc_locale_func.c",
|
||||
|
||||
"misc" OS_SEP "___mb_cur_max_func.c",
|
||||
};
|
||||
|
||||
static const char *msvcrt_other_src[] = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user