Commit 14e7e331 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

stdio.h: Use __acrt_iob_func to access standard stream files.

parent 351a8735
......@@ -90,9 +90,11 @@ FILE* __cdecl __iob_func(void);
# endif
#endif /* _STDIO_DEFINED */
#define stdin (_iob+STDIN_FILENO)
#define stdout (_iob+STDOUT_FILENO)
#define stderr (_iob+STDERR_FILENO)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment