stdio.h: Use __acrt_iob_func to access standard stream files.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
351a87359d
commit
14e7e331ae
|
@ -90,9 +90,11 @@ FILE* __cdecl __iob_func(void);
|
||||||
# endif
|
# endif
|
||||||
#endif /* _STDIO_DEFINED */
|
#endif /* _STDIO_DEFINED */
|
||||||
|
|
||||||
#define stdin (_iob+STDIN_FILENO)
|
FILE *__cdecl __acrt_iob_func(unsigned index);
|
||||||
#define stdout (_iob+STDOUT_FILENO)
|
|
||||||
#define stderr (_iob+STDERR_FILENO)
|
#define stdin (__acrt_iob_func(0))
|
||||||
|
#define stdout (__acrt_iob_func(1))
|
||||||
|
#define stderr (__acrt_iob_func(2))
|
||||||
|
|
||||||
/* return value for _get_output_format */
|
/* return value for _get_output_format */
|
||||||
#define _TWO_DIGIT_EXPONENT 0x1
|
#define _TWO_DIGIT_EXPONENT 0x1
|
||||||
|
|
Loading…
Reference in New Issue