aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1999-09-03 18:48:46 +0000
committerRichard M. Stallman1999-09-03 18:48:46 +0000
commitf019cded83820bc7ea48f58914f243d20286746d (patch)
treebdbf43ab59f3f9a0f13e219276cda81edb25234b /src
parent0e0151535716525eef54bfbdc94aa4c9779f31e9 (diff)
downloademacs-f019cded83820bc7ea48f58914f243d20286746d.tar.gz
emacs-f019cded83820bc7ea48f58914f243d20286746d.zip
[macintosh]: Set KBD_BUFFER_SIZE to a smaller value
(512) because Mac compilers limit local data of a function to 32K.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index a50322f4256..93feb45ca88 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -84,7 +84,12 @@ 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 */