diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h index 0f91947bded..98cc9503e6b 100644 --- a/include/msvcrt/stdio.h +++ b/include/msvcrt/stdio.h @@ -81,8 +81,13 @@ extern "C" { #endif #ifndef _STDIO_DEFINED +# ifdef __i386__ +FILE* __cdecl __p__iob(void); +# define _iob (__p__iob()) +# else FILE* __cdecl __iob_func(void); -# define _iob (__iob_func()) +# define _iob (__iob_func()) +# endif #endif /* _STDIO_DEFINED */ #define stdin (_iob+STDIN_FILENO)