mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
Provide FNONBLOCK for BSD compatiblity
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
3ad9b2fcba
commit
78c9002201
@ -99,6 +99,10 @@ extern "C" {
|
||||
|
||||
#endif /* __MISC_VISIBLE */
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
#define FNONBLOCK _FNONBLOCK
|
||||
#endif /* __BSD_VISIBLE */
|
||||
|
||||
/* XXX close on exec request; must match UF_EXCLOSE in user.h */
|
||||
#define FD_CLOEXEC 1 /* posix */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user