| 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 <crtdefs.h> |
| 8 | #include <sect_attribs.h> |
| 9 | #include <corecrt_startup.h> |
| 10 | |
| 11 | __declspec(dllimport) int __lconv_init (void); |
| 12 | |
| 13 | int __mingw_initcharmax = 0; |
| 14 | |
| 15 | int _charmax = 255; |
| 16 | |
| 17 | static int my_lconv_init(void) |
| 18 | { |
| 19 | return __lconv_init(); |
| 20 | } |
| 21 | |
| 22 | _CRTALLOC(".CRT$XIC") _PIFV __mingw_pinit = my_lconv_init; |