mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-08 06:44:27 +00:00
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
9 lines
345 B
C
9 lines
345 B
C
#define MINGW_HAS_SECURE_API 1
|
|
#include <sec_api/stdio_s.h>
|
|
|
|
int __cdecl _vswprintf_p(wchar_t *_DstBuf, size_t _MaxCount, const wchar_t *_Format, va_list _ArgList)
|
|
{
|
|
return _vswprintf_p_l(_DstBuf, _MaxCount, _Format, NULL, _ArgList);
|
|
}
|
|
|
|
int __cdecl (*__MINGW_IMP_SYMBOL(_vswprintf_p))(wchar_t*,size_t,const wchar_t*,va_list) = _vswprintf_p;
|