From: Jason Rumney Date: Sat, 4 May 2002 14:55:19 +0000 (+0000) Subject: (init_process): Only add server subfeature if we can X-Git-Tag: ttn-vms-21-2-B4~15193 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a8e8ea6124f405fd3cbb9474096778a64c70945a;p=emacs.git (init_process): Only add server subfeature if we can use non-blocking I/O. --- 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