Commit f019cded authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

[macintosh]: Set KBD_BUFFER_SIZE to a smaller value

(512) because Mac compilers limit local data of a function to 32K.
parent 0e015153
...@@ -84,7 +84,12 @@ extern int input_fd; ...@@ -84,7 +84,12 @@ extern int input_fd;
#ifdef HAVE_WINDOW_SYSTEM #ifdef HAVE_WINDOW_SYSTEM
/* Make all keyboard buffers much bigger when using X windows. */ /* 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 #define KBD_BUFFER_SIZE 4096
#endif
#else /* No X-windows, character input */ #else /* No X-windows, character input */
#define KBD_BUFFER_SIZE 256 #define KBD_BUFFER_SIZE 256
#endif /* No X-windows */ #endif /* No X-windows */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment