changeset 45118:cc30538ffb5c

(init_process): Only add server subfeature if we can use non-blocking I/O.
author Jason Rumney <jasonr@gnu.org>
date Sat, 04 May 2002 14:55:19 +0000
parents d453f80f21f5
children bb7bdd25e045
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sat May 04 14:53:29 2002 +0000
+++ b/src/process.c	Sat May 04 14:55:19 2002 +0000
@@ -6074,7 +6074,7 @@
 #ifdef HAVE_GETSOCKNAME
    ADD_SUBFEATURE (QCservice, Qt);
 #endif
-#ifndef TERM
+#if !defined(TERM) && (defined(O_NONBLOCK) || defined(O_NDELAY))
    ADD_SUBFEATURE (QCserver, Qt);
 #endif
 #ifdef SO_BINDTODEVICE