changeset 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 095548b9a36c
children 8f312684d6ec
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Fri Sep 03 18:44:39 1999 +0000
+++ b/src/keyboard.c	Fri Sep 03 18:48:46 1999 +0000
@@ -84,7 +84,12 @@
 
 #ifdef HAVE_WINDOW_SYSTEM
 /* Make all keyboard buffers much bigger when using X windows.  */
+#ifdef macintosh
+/* But not too big (local data > 32K error) if on macintosh */
+#define KBD_BUFFER_SIZE 512
+#else
 #define KBD_BUFFER_SIZE 4096
+#endif
 #else	/* No X-windows, character input */
 #define KBD_BUFFER_SIZE 256
 #endif	/* No X-windows */