diff options
| author | Karoly Lorentey | 2003-12-30 17:02:33 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2003-12-30 17:02:33 +0000 |
| commit | c1c63edb7907e35085f2d61507e1047db85d52c7 (patch) | |
| tree | c9c8804da129c599228eeb3073eae89cb63581c9 /src | |
| parent | 096d4be33fc8bd54c363d05fff24f9f029acbf0a (diff) | |
| download | emacs-c1c63edb7907e35085f2d61507e1047db85d52c7.tar.gz emacs-c1c63edb7907e35085f2d61507e1047db85d52c7.zip | |
Don't compile sys_select on systems that don't need it.
src/sysdep.c (sys_select): This function is unnecessary on most
systems, so #ifdef it out.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-23
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 81299b37516..cc5ef0c5511 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2499,7 +2499,7 @@ select_alarm () | |||
| 2499 | longjmp (read_alarm_throw, 1); | 2499 | longjmp (read_alarm_throw, 1); |
| 2500 | } | 2500 | } |
| 2501 | 2501 | ||
| 2502 | #ifndef WINDOWSNT | 2502 | #if (!defined (HAVE_SELECT) || defined (BROKEN_SELECT_NON_X)) && !defined (WINDOWSNT) |
| 2503 | /* Only rfds are checked. */ | 2503 | /* Only rfds are checked. */ |
| 2504 | int | 2504 | int |
| 2505 | sys_select (nfds, rfds, wfds, efds, timeout) | 2505 | sys_select (nfds, rfds, wfds, efds, timeout) |
| @@ -2631,7 +2631,7 @@ sys_select (nfds, rfds, wfds, efds, timeout) | |||
| 2631 | } | 2631 | } |
| 2632 | return ravail; | 2632 | return ravail; |
| 2633 | } | 2633 | } |
| 2634 | #endif /* not WINDOWSNT */ | 2634 | #endif /* (!defined (HAVE_SELECT) || defined (BROKEN_SELECT_NON_X)) && !defined (WINDOWSNT) */ |
| 2635 | 2635 | ||
| 2636 | /* Read keyboard input into the standard buffer, | 2636 | /* Read keyboard input into the standard buffer, |
| 2637 | waiting for at least one character. */ | 2637 | waiting for at least one character. */ |