diff --git a/newlib/libc/stdio/flags.c b/newlib/libc/stdio/flags.c index 71fc1f60a..1aa86d36e 100644 --- a/newlib/libc/stdio/flags.c +++ b/newlib/libc/stdio/flags.c @@ -89,10 +89,6 @@ __sflags (struct _reent *ptr, break; } } -#if defined (O_TEXT) && !defined (__CYGWIN__) - if (!(m | O_BINARY)) - m |= O_TEXT; -#endif *optr = m | o; return ret; }