mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 14:34:09 +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:
parent
5290f6cf12
commit
699e9b4328
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue