Mercurial > emacs
diff src/term.c @ 80994:62b6aa7f8c37
Use HAVE_GPM instead of HAVE_GPM_H.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 20 May 2007 05:09:33 +0000 |
parents | 3d81d0b44577 |
children | 223bb8e66f74 0a3247aa24a4 31beec9ee600 |
line wrap: on
line diff
--- a/src/term.c Sun May 20 05:07:36 2007 +0000 +++ b/src/term.c Sun May 20 05:09:33 2007 +0000 @@ -410,7 +410,7 @@ #define FRAME_TERMCAP_P(_f_) 0 #endif /* WINDOWSNT */ -#ifdef HAVE_GPM_H +#ifdef HAVE_GPM #include <sys/fcntl.h> #include "buffer.h" @@ -435,7 +435,7 @@ static int pos_x, pos_y; static int last_mouse_x, last_mouse_y; -#endif /* HAVE_GPM_H */ +#endif /* HAVE_GPM */ void ring_bell () @@ -2381,7 +2381,7 @@ Mouse ***********************************************************************/ -#ifdef HAVE_GPM_H +#ifdef HAVE_GPM static void term_show_mouse_face (enum draw_glyphs_face draw) { @@ -3024,7 +3024,7 @@ term_gpm = 0; return Qnil; } -#endif /* HAVE_GPM_H */ +#endif /* HAVE_GPM */ /*********************************************************************** @@ -3045,7 +3045,7 @@ encode_terminal_bufsize = 0; -#ifdef HAVE_GPM_H +#ifdef HAVE_GPM /* TODO: Can't get Gpm_Snapshot in term_mouse_position to work: test with (mouse-position). Also set-mouse-position won't work as is. */ /* mouse_position_hook = term_mouse_position; */ @@ -3500,10 +3500,10 @@ defsubr (&Stty_display_color_p); defsubr (&Stty_display_color_cells); defsubr (&Stty_no_underline); -#ifdef HAVE_GPM_H +#ifdef HAVE_GPM defsubr (&Sterm_open_connection); defsubr (&Sterm_close_connection); -#endif /* HAVE_GPM_H */ +#endif /* HAVE_GPM */ fullscreen_hook = NULL; }