diff options
| author | Richard M. Stallman | 1993-06-29 16:53:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-29 16:53:32 +0000 |
| commit | 7324d660df348536d3a58c060f311c5b12648acd (patch) | |
| tree | 16503a42eea5d47b9191ae2541b14d6484486b1b /src/process.c | |
| parent | 74da87491acebb312db85135951abdf437fe89b2 (diff) | |
| download | emacs-7324d660df348536d3a58c060f311c5b12648acd.tar.gz emacs-7324d660df348536d3a58c060f311c5b12648acd.zip | |
(wait_reading_process_input): Use SIGIO only if defined.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 4c2fa5d7c00..95d6846f9a3 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3190,8 +3190,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 3190 | /* System sometimes fails to deliver SIGIO. */ | 3190 | /* System sometimes fails to deliver SIGIO. */ |
| 3191 | kill (getpid (), SIGIO); | 3191 | kill (getpid (), SIGIO); |
| 3192 | #endif | 3192 | #endif |
| 3193 | #ifdef SIGIO | ||
| 3193 | if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) | 3194 | if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) |
| 3194 | kill (0, SIGIO); | 3195 | kill (0, SIGIO); |
| 3196 | #endif | ||
| 3195 | 3197 | ||
| 3196 | /* If we have timed out (nfds == 0) or found some input (nfds > 0), | 3198 | /* If we have timed out (nfds == 0) or found some input (nfds > 0), |
| 3197 | we should exit. */ | 3199 | we should exit. */ |