49d1a4c562
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
10 lines
345 B
C
10 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;
|