changeset 109377:cef697cc4464

Fix the MS-DOS build (fallout from revno 100807). process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef away the entire body of the function.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 13 Jul 2010 13:03:22 +0300
parents 409ecfd9731e
children 4e99d7aa7526
files src/ChangeLog src/process.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Jul 12 21:54:28 2010 -0700
+++ b/src/ChangeLog	Tue Jul 13 13:03:22 2010 +0300
@@ -1,3 +1,8 @@
+2010-07-13  Eli Zaretskii  <eliz@gnu.org>
+
+	* process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef
+	away the entire body of the function.
+
 2010-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	Remove subprocesses #ifdefs from term.c.
--- a/src/process.c	Mon Jul 12 21:54:28 2010 -0700
+++ b/src/process.c	Tue Jul 13 13:03:22 2010 +0300
@@ -7122,10 +7122,12 @@
 void
 add_keyboard_wait_descriptor (int desc)
 {
+#ifdef subprocesses
   FD_SET (desc, &input_wait_mask);
   FD_SET (desc, &non_process_wait_mask);
   if (desc > max_keyboard_desc)
     max_keyboard_desc = desc;
+#endif
 }
 
 /* From now on, do not expect DESC to give keyboard input.  */