diff options
author | Andrew Choi <akochoi@shaw.ca> | 2002-04-26 23:39:06 +0000 |
---|---|---|
committer | Andrew Choi <akochoi@shaw.ca> | 2002-04-26 23:39:06 +0000 |
commit | e0f712ba55fa0d073f6ab93606e428f61fc7caf2 (patch) | |
tree | 7dc6d3403fafcbee1a83288ac840f7eba1d92b44 /src/keyboard.c | |
parent | 501d8923ae2cdec4ef50f050bb66d3715ba2a8f6 (diff) | |
download | emacs-e0f712ba55fa0d073f6ab93606e428f61fc7caf2.tar.gz |
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index cd3aa3793fb..d1c3681fdbc 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */ #include "w32term.h" #endif /* HAVE_NTGUI */ -#ifdef macintosh +#ifdef MAC_OS #include "macterm.h" #endif @@ -94,8 +94,8 @@ 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. */ +#ifdef MAC_OS8 +/* But not too big (local data > 32K error) if on Mac OS Classic. */ #define KBD_BUFFER_SIZE 512 #else #define KBD_BUFFER_SIZE 4096 @@ -3687,7 +3687,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu) abort (); #endif } -#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (macintosh) +#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (MAC_OS) else if (event->kind == delete_window_event) { /* Make an event (delete-frame (FRAME)). */ @@ -3718,7 +3718,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu) XSETBUFFER (obj, current_buffer); kbd_fetch_ptr = event + 1; } -#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (macintosh) +#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS) else if (event->kind == menu_bar_activate_event) { kbd_fetch_ptr = event + 1; @@ -5373,7 +5373,7 @@ make_lispy_event (event) } #endif /* HAVE_MOUSE */ -#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (macintosh) +#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS) case MENU_BAR_EVENT: if (EQ (event->arg, event->frame_or_window)) /* This is the prefix key. We translate this to |