mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
Upstream commit dddccbc3ef50ac52bf00723fd2f68d98140aab80 * adds ucrtbase.def.in * mingwex: replace mingw crt files with ucrt files * adds missing mingw-w64 ucrt files The rules that govern which set of files are included or excluded is contained in the logic for tools/update_mingw.zig
19 lines
602 B
C
Vendored
19 lines
602 B
C
Vendored
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the mingw-w64 runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
|
*/
|
|
|
|
#undef __MSVCRT_VERSION__
|
|
#define _UCRT
|
|
#include <stdio.h>
|
|
|
|
int __cdecl scanf(const char * __restrict__ _Format,...) {
|
|
__builtin_va_list __ap;
|
|
int __ret;
|
|
__builtin_va_start(__ap, _Format);
|
|
__ret = __stdio_common_vfscanf(0, stdin, _Format, NULL, __ap);
|
|
__builtin_va_end(__ap);
|
|
return __ret;
|
|
}
|
|
int __cdecl (*__MINGW_IMP_SYMBOL(scanf))(const char *__restrict__, ...) = scanf;
|