From: Richard M. Stallman Date: Fri, 3 Sep 1999 18:48:46 +0000 (+0000) Subject: [macintosh]: Set KBD_BUFFER_SIZE to a smaller value X-Git-Tag: emacs-pretest-21.0.90~6917 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f019cded83820bc7ea48f58914f243d20286746d;p=emacs.git [macintosh]: Set KBD_BUFFER_SIZE to a smaller value (512) because Mac compilers limit local data of a function to 32K. --- 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; #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 */