[INCLUDES/CRT]: Fix the definition of 'stderr' (that we have wrong since r38292); move it next to the _iob definition.

svn path=/trunk/; revision=72911
This commit is contained in:
Hermès Bélusca-Maïto 2016-10-05 14:30:59 +00:00
parent 5290f6cf12
commit 699e9b4328
2 changed files with 8 additions and 8 deletions

View file

@ -101,6 +101,13 @@ extern "C" {
#endif
#endif
#ifndef _STDSTREAM_DEFINED
#define _STDSTREAM_DEFINED
#define stdin (&_iob[0])
#define stdout (&_iob[1])
#define stderr (&_iob[2])
#endif /* !_STDSTREAM_DEFINED */
#ifndef _FPOS_T_DEFINED
#define _FPOS_T_DEFINED
#undef _FPOSOFF
@ -115,13 +122,6 @@ extern "C" {
#endif
#ifndef _STDSTREAM_DEFINED
#define _STDSTREAM_DEFINED
#define stdin (&_iob[0])
#define stdout (&_iob[1])
#define stderr (&_iob[1])
#endif /* !_STDSTREAM_DEFINED */
#define _IOREAD 0x0001
#define _IOWRT 0x0002

View file

@ -60,7 +60,7 @@ extern "C" {
#define _STDSTREAM_DEFINED
#define stdin (&_iob[0])
#define stdout (&_iob[1])
#define stderr (&_iob[1])
#define stderr (&_iob[2])
#endif /* !_STDSTREAM_DEFINED */
#ifndef _FSIZE_T_DEFINED