[SDK][CRT] Fix _ismbblead undefined error on MSVC
[reactos.git] / sdk / lib / crt / startup / charmax.c
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6
7 #include <sect_attribs.h>
8 #include <internal.h>
9
10 __declspec(dllimport) int __cdecl __lconv_init (void);
11
12 int mingw_initcharmax = 0;
13
14 int _charmax = 255;
15
16 static int __cdecl my_lconv_init(void)
17 {
18 return __lconv_init();
19 }
20
21 _CRTALLOC(".CRT$XIC") _PIFV __mingw_pinit = my_lconv_init;