crt: Use _UCRT for specifying the CRT to use in certain files

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2019-05-04 14:27:25 +03:00
parent 8627c03d7e
commit edd674fb45
13 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@
#endif
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#define __getmainargs crtimp___getmainargs
#define __wgetmainargs crtimp___wgetmainargs

View File

@ -14,7 +14,7 @@
#endif
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#define _snwprintf real__snwprintf

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl _vsnprintf(char * __restrict__ _Dest,size_t _Count,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl _vsnwprintf(wchar_t * __restrict__ _Dest,size_t _Count,const wchar_t * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl fprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,...)

View File

@ -14,7 +14,7 @@
#endif
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#define fwprintf real_fwprintf

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl printf(const char * __restrict__ _Format,...)

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int snprintf (char * __restrict__ __stream, size_t __n, const char * __restrict__ __format, ...)

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl vfprintf(FILE * __restrict__ _File,const char * __restrict__ _Format,va_list _ArgList)

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl vprintf(const char * __restrict__ _Format,va_list _ArgList)

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int vsnprintf (char * __restrict__ __stream, size_t __n, const char * __restrict__ __format, va_list __local_argv)

View File

@ -5,7 +5,7 @@
*/
#undef __MSVCRT_VERSION__
#define __MSVCRT_VERSION__ 0x1400
#define _UCRT
#include <stdio.h>
int __cdecl vsprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,va_list _Args) __MINGW_ATTRIB_DEPRECATED_SEC_WARN