mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user