| #include <windows.h> | |
| #include <malloc.h> | |
| #include <errno.h> | |
| HMODULE __mingw_get_msvcrt_handle(void); | |
| int __cdecl _cwprintf_s_l (const wchar_t *, _locale_t, ...); | |
| int __cdecl _vcwprintf_s_l(const wchar_t *,_locale_t,va_list); | |
| int __cdecl (*__MINGW_IMP_SYMBOL(_cwprintf_s_l))(const char *, _locale_t, ...) = | |
| _cwprintf_s_l; | |
| int __cdecl | |
| _cwprintf_s_l (const wchar_t *s, _locale_t loc, ...) | |
| { | |
| va_list argp; | |
| int r; | |
| va_start (argp, loc); | |
| r = _vcwprintf_s_l (s, loc, argp); | |
| va_end (argp); | |
| return r; | |
| } |