Support new uClibc stdio core.
This commit is contained in:
parent
f88bb72f1f
commit
ebce2daa60
@ -55,7 +55,11 @@
|
|||||||
* #define __FEOF(stream) ((stream)->modeflags & __FLAG_EOF)
|
* #define __FEOF(stream) ((stream)->modeflags & __FLAG_EOF)
|
||||||
* #define __FERROR(stream) ((stream)->modeflags & __FLAG_ERROR)
|
* #define __FERROR(stream) ((stream)->modeflags & __FLAG_ERROR)
|
||||||
*/
|
*/
|
||||||
|
# if defined(__MASK_READING)
|
||||||
|
# define SET_FERROR_UNLOCKED(S) ((S)->__modeflags |= __FLAG_ERROR)
|
||||||
|
# else
|
||||||
# define SET_FERROR_UNLOCKED(S) ((S)->modeflags |= __FLAG_ERROR)
|
# define SET_FERROR_UNLOCKED(S) ((S)->modeflags |= __FLAG_ERROR)
|
||||||
|
# endif
|
||||||
|
|
||||||
# elif defined(__MODE_ERR)
|
# elif defined(__MODE_ERR)
|
||||||
/* Using either the original stdio implementation (from dev86) or
|
/* Using either the original stdio implementation (from dev86) or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user