stdio: drop unused O_TEXT handling on non-Cygwin
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
14e2268853
commit
5fcbbf7ead
|
@ -89,10 +89,6 @@ __sflags (struct _reent *ptr,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if defined (O_TEXT) && !defined (__CYGWIN__)
|
|
||||||
if (!(m | O_BINARY))
|
|
||||||
m |= O_TEXT;
|
|
||||||
#endif
|
|
||||||
*optr = m | o;
|
*optr = m | o;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue