diff --git a/include/msvcrt/corecrt_wstdio.h b/include/msvcrt/corecrt_wstdio.h index 1480d32bf60..87f74916c5d 100644 --- a/include/msvcrt/corecrt_wstdio.h +++ b/include/msvcrt/corecrt_wstdio.h @@ -41,6 +41,12 @@ typedef struct _iobuf #define WEOF (wint_t)(0xFFFF) #endif +FILE *__cdecl __acrt_iob_func(unsigned index); + +#define stdin (__acrt_iob_func(0)) +#define stdout (__acrt_iob_func(1)) +#define stderr (__acrt_iob_func(2)) + wint_t __cdecl _fgetwc_nolock(FILE*); wint_t __cdecl _fgetwchar(void); wint_t __cdecl _fputwc_nolock(wint_t,FILE*); diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h index 7477ac171a8..6db7ebe50b5 100644 --- a/include/msvcrt/stdio.h +++ b/include/msvcrt/stdio.h @@ -61,12 +61,6 @@ FILE* __cdecl __iob_func(void); # endif #endif /* _STDIO_DEFINED */ -FILE *__cdecl __acrt_iob_func(unsigned index); - -#define stdin (__acrt_iob_func(0)) -#define stdout (__acrt_iob_func(1)) -#define stderr (__acrt_iob_func(2)) - /* return value for _get_output_format */ #define _TWO_DIGIT_EXPONENT 0x1