comparison src/keyboard.c @ 25525:79574d91e925

[macintosh]: Set KBD_BUFFER_SIZE to a smaller value (512) because Mac compilers limit local data of a function to 32K.
author Richard M. Stallman <rms@gnu.org>
date Fri, 03 Sep 1999 18:48:46 +0000
parents f4c741d61d57
children 693ca9ba497a
comparison
equal deleted inserted replaced
25524:095548b9a36c 25525:79574d91e925
82 /* File descriptor to use for input. */ 82 /* File descriptor to use for input. */
83 extern int input_fd; 83 extern int input_fd;
84 84
85 #ifdef HAVE_WINDOW_SYSTEM 85 #ifdef HAVE_WINDOW_SYSTEM
86 /* Make all keyboard buffers much bigger when using X windows. */ 86 /* Make all keyboard buffers much bigger when using X windows. */
87 #ifdef macintosh
88 /* But not too big (local data > 32K error) if on macintosh */
89 #define KBD_BUFFER_SIZE 512
90 #else
87 #define KBD_BUFFER_SIZE 4096 91 #define KBD_BUFFER_SIZE 4096
92 #endif
88 #else /* No X-windows, character input */ 93 #else /* No X-windows, character input */
89 #define KBD_BUFFER_SIZE 256 94 #define KBD_BUFFER_SIZE 256
90 #endif /* No X-windows */ 95 #endif /* No X-windows */
91 96
92 /* Following definition copied from eval.c */ 97 /* Following definition copied from eval.c */