From: Eli Zaretskii Date: Tue, 13 Jul 2010 11:03:42 +0000 (+0300) Subject: Fix the MS-DOS build; remove more "#ifdef subprocesses". X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~57^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5e7f8d0259d8fcae228220f05f5f66328df38c5;p=emacs.git Fix the MS-DOS build; remove more "#ifdef subprocesses". process.c : Move to the common part. (Fwaiting_for_user_input_p): Move to the common part; return nil if async subprocesses aren't supported. sysdep.c (wait_for_termination) [!MSDOS]: Don't compile on MS-DOS. Remove "#ifdef subprocesses". (sys_subshell, sys_select): Remove "#ifdef subprocesses". (gettimeofday): Remove "#ifdef subprocesses". (wait_without_blocking): Remove function. (flush_pending_output, child_setup_tty): Don't compile on MS-DOS. Remove "#ifdef subprocesses". (child_setup_tty): Use WINDOWSNT instead of DOS_NT, since not compiled on MS-DOS. callproc.c (Fcall_process) [!MSDOS]: Don't call wait_for_termination on MS-DOS. emacs.c (shut_down_emacs): Remove "#ifndef subprocesses" from initialization of inhibit_sentinels. keyboard.c (record_asynch_buffer_change): Remove "#ifdef subprocesses" conditional. callproc.c (Fcall_process) [!subprocesses]: Don't call wait_for_termination, since `buffer' cannot be an integer when async subprocesses are not supported xdisp.c (decode_mode_spec): Use `MSDOS' instead of `subprocesses' for ifdefing away the call to Fprocess_status. process.c (add_keyboard_wait_descriptor) [!subprocesses]: Ifdef away the entire body of the function. --- d5e7f8d0259d8fcae228220f05f5f66328df38c5