Mercurial > emacs
comparison src/process.c @ 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 |
comparison
equal
deleted
inserted
replaced
| 109376:409ecfd9731e | 109377:cef697cc4464 |
|---|---|
| 7120 /* Add DESC to the set of keyboard input descriptors. */ | 7120 /* Add DESC to the set of keyboard input descriptors. */ |
| 7121 | 7121 |
| 7122 void | 7122 void |
| 7123 add_keyboard_wait_descriptor (int desc) | 7123 add_keyboard_wait_descriptor (int desc) |
| 7124 { | 7124 { |
| 7125 #ifdef subprocesses | |
| 7125 FD_SET (desc, &input_wait_mask); | 7126 FD_SET (desc, &input_wait_mask); |
| 7126 FD_SET (desc, &non_process_wait_mask); | 7127 FD_SET (desc, &non_process_wait_mask); |
| 7127 if (desc > max_keyboard_desc) | 7128 if (desc > max_keyboard_desc) |
| 7128 max_keyboard_desc = desc; | 7129 max_keyboard_desc = desc; |
| 7130 #endif | |
| 7129 } | 7131 } |
| 7130 | 7132 |
| 7131 /* From now on, do not expect DESC to give keyboard input. */ | 7133 /* From now on, do not expect DESC to give keyboard input. */ |
| 7132 | 7134 |
| 7133 void | 7135 void |
