| author | |
| committer | |
| log | 9ed00b3829dae0fca3db6c0e501ae006e9e8aad8 |
| tree | 15e79c6405b2672754ba8b3288e2a8a5f7d6283d |
| parent | 64d0960244a219526fc100b17f4ecd26223df496 |
| signature |
2 files changed, 19 insertions(+), 1 deletions(-)
lib/libc/mingw/misc/___mb_cur_max_func.c created+18| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | /** | |
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 | * This file is part of the mingw-w64 runtime package. | |
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | |
| 5 | */ | |
| 6 | ||
| 7 | #include <_mingw.h> | |
| 8 | ||
| 9 | extern int* __MINGW_IMP_SYMBOL(__mb_cur_max); | |
| 10 | ||
| 11 | int __cdecl ___mb_cur_max_func(void); | |
| 12 | int __cdecl ___mb_cur_max_func(void) | |
| 13 | { | |
| 14 | return *__MINGW_IMP_SYMBOL(__mb_cur_max); | |
| 15 | } | |
| 16 | ||
| 17 | typedef int __cdecl (*_f___mb_cur_max_func)(void); | |
| 18 | _f___mb_cur_max_func __MINGW_IMP_SYMBOL(___mb_cur_max_func) = ___mb_cur_max_func; |
src/link.cpp+1-1| ... | ... | @@ -72,7 +72,7 @@ static const char *msvcrt_common_src[] = { |
| 72 | 72 | |
| 73 | 73 | static const char *msvcrt_i386_src[] = { |
| 74 | 74 | "misc" OS_SEP "lc_locale_func.c", |
| 75 | ||
| 75 | "misc" OS_SEP "___mb_cur_max_func.c", | |
| 76 | 76 | }; |
| 77 | 77 | |
| 78 | 78 | static const char *msvcrt_other_src[] = { |