]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_process): Only add server subfeature if we can
authorJason Rumney <jasonr@gnu.org>
Sat, 4 May 2002 14:55:19 +0000 (14:55 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 4 May 2002 14:55:19 +0000 (14:55 +0000)
use non-blocking I/O.

src/process.c

index d8f9c654c8a5241157cc6026ad3e4971e0d5fd51..2c9ca3d914928bd5961b62c75af84448c23722aa 100644 (file)
@@ -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