zig/lib/libc/mingw/secapi/_vscprintf_p.c
Andrew Kelley 49d1a4c562 move lib dirs to lib subdir
also start prefering NtDll API. so far:
 * NtQueryInformationFile
 * NtClose

adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00

10 lines
265 B
C

#define MINGW_HAS_SECURE_API 1
#include <sec_api/stdio_s.h>
int __cdecl _vscprintf_p(const char *format, va_list arglist)
{
return _vscprintf_p_l(format, NULL, arglist);
}
int __cdecl (*__MINGW_IMP_SYMBOL(_vscprintf_p))(const char *, va_list) = _vscprintf_p;