diff src/keyboard.c @ 56477:59a86f6ee1fb

Fixes for Ctrl-G support on carbon, replacing old timeout based polling with alarm based polling. mac.c (sys_select): Redo sys_select to use alarm-based polling instead of 1 sec timeouts (like solaris). macterm.c (x_make_frame_visible): Comment in polling on frame creation. keyboard.c: Undef SIGIO on Carbon atimer.c (alarm_signal_handler): Call alarm handlers after scheduling. eval.c (Feval): Remove quit_char test process.c (wait_reading_process_input): Remove clearing stdin for select call on process input
author Steven Tamm <steventamm@mac.com>
date Mon, 19 Jul 2004 04:42:43 +0000
parents 04a216bfa931
children b427147a826a e657dca8261e b9eee0a7bef5
line wrap: on
line diff
--- a/src/keyboard.c	Mon Jul 19 01:00:19 2004 +0000
+++ b/src/keyboard.c	Mon Jul 19 04:42:43 2004 +0000
@@ -607,7 +607,7 @@
 
 /* We are unable to use interrupts if FIONREAD is not available,
    so flush SIGIO so we won't try.  */
-#ifndef FIONREAD
+#if !defined (FIONREAD) || defined(HAVE_CARBON)
 #ifdef SIGIO
 #undef SIGIO
 #endif