# HG changeset patch # User Richard M. Stallman # Date 936384526 0 # Node ID 79574d91e925c1e7c92c4a77446cde01099b2a0b # Parent 095548b9a36c913a9f7b1b3f571e25e462c1bc20 [macintosh]: Set KBD_BUFFER_SIZE to a smaller value (512) because Mac compilers limit local data of a function to 32K. diff -r 095548b9a36c -r 79574d91e925 src/keyboard.c --- 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 */