From ad53be3a32cb5db6818c256afb81df85757305c5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 30 Jul 2025 12:23:22 +0200 Subject: [PATCH] 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 --- os/Xtrans.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/os/Xtrans.c b/os/Xtrans.c index d1934e31c..4020b6a36 100644 --- a/os/Xtrans.c +++ b/os/Xtrans.c @@ -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 */