1 #include <windows.h> 2 #include <malloc.h> 3 #include <errno.h> 4 #include <msvcrt.h> 5 #include <sec_api/conio_s.h> 6 7 int __cdecl (*__MINGW_IMP_SYMBOL(_cwprintf_s))(const wchar_t *,...) = 8 _cwprintf_s; 9 10 int __cdecl _cwprintf_s(const wchar_t * s,...)11_cwprintf_s (const wchar_t *s, ...) 12 { 13 va_list argp; 14 int r; 15 16 va_start (argp, s); 17 r = _vcwprintf_s (s, argp); 18 va_end (argp); 19 return r; 20 } 21