comparison src/sysdep.c @ 82986:02a346f99eaf

Undo patch-23. I need a coffee. src/sysdep.c (sys_select): Restore previous #ifdef. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-26
author Karoly Lorentey <lorentey@elte.hu>
date Tue, 30 Dec 2003 17:51:52 +0000
parents 21720c013048
children 1682917e56b4
comparison
equal deleted inserted replaced
82985:8d7be2534cbc 82986:02a346f99eaf
2497 #endif /* not BSD4_1 */ 2497 #endif /* not BSD4_1 */
2498 if (read_alarm_should_throw) 2498 if (read_alarm_should_throw)
2499 longjmp (read_alarm_throw, 1); 2499 longjmp (read_alarm_throw, 1);
2500 } 2500 }
2501 2501
2502 #if (!defined (HAVE_SELECT) || defined (BROKEN_SELECT_NON_X)) && !defined (WINDOWSNT) 2502 #ifndef 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)
2506 int nfds; 2506 int nfds;
2507 SELECT_TYPE *rfds, *wfds, *efds; 2507 SELECT_TYPE *rfds, *wfds, *efds;
2629 if (*local_timeout == 0) /* Stop on timer being cleared */ 2629 if (*local_timeout == 0) /* Stop on timer being cleared */
2630 break; 2630 break;
2631 } 2631 }
2632 return ravail; 2632 return ravail;
2633 } 2633 }
2634 #endif /* (!defined (HAVE_SELECT) || defined (BROKEN_SELECT_NON_X)) && !defined (WINDOWSNT) */ 2634 #endif not 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. */
2638 2638
2639 /* Make all keyboard buffers much bigger when using a window system. */ 2639 /* Make all keyboard buffers much bigger when using a window system. */