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:
Enrico Weigelt, metux IT consult
2025-07-30 12:23:22 +02:00
committed by Enrico Weigelt
parent 399c51bb6d
commit ad53be3a32

View File

@@ -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 */