mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: xtrans: drop use of FNDELAY
That's an ancient symbol, which had been replaced by O_NDELAY long ago. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
399c51bb6d
commit
ad53be3a32
@@ -602,11 +602,7 @@ int _XSERVTransSetOption (XtransConnInfo ciptr, int option, int arg)
|
||||
}
|
||||
#else
|
||||
ret = fcntl (fd, F_GETFL, 0);
|
||||
#ifdef FNDELAY
|
||||
ret = fcntl (fd, F_SETFL, ret | FNDELAY);
|
||||
#else
|
||||
ret = fcntl (fd, F_SETFL, ret | O_NDELAY);
|
||||
#endif
|
||||
#endif /* WIN32 */
|
||||
#endif /* FIOSNBIO */
|
||||
#endif /* O_NONBLOCK */
|
||||
|
||||
Reference in New Issue
Block a user