From a8e8ea6124f405fd3cbb9474096778a64c70945a Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 4 May 2002 14:55:19 +0000 Subject: [PATCH] (init_process): Only add server subfeature if we can use non-blocking I/O. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index d8f9c654c8a..2c9ca3d9149 100644 --- a/src/process.c +++ b/src/process.c @@ -6074,7 +6074,7 @@ init_process () #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