From: Eli Zaretskii Date: Tue, 13 Jul 2010 10:03:22 +0000 (+0300) Subject: Fix the MS-DOS build (fallout from 2010-07-13T04:54:28Z!dann@ics.uci.edu). X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~57^2~4^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2047750525b9f9fd0181433246c5c0743b7df3d7;p=emacs.git Fix the MS-DOS build (fallout from 2010-07-13T04:54:28Z!dann@ics.uci.edu). process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef away the entire body of the function. --- diff --git a/src/ChangeLog b/src/ChangeLog index 65d71cda7aa..58eaef8920b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-07-13 Eli Zaretskii + + * process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef + away the entire body of the function. + 2010-07-13 Dan Nicolaescu Remove subprocesses #ifdefs from term.c. diff --git a/src/process.c b/src/process.c index 275f3c15898..bd1a651a8b8 100644 --- a/src/process.c +++ b/src/process.c @@ -7122,10 +7122,12 @@ wait_reading_process_output (int time_limit, int microsecs, int read_kbd, 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. */