emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/term.c,v


From: Nick Roberts
Subject: [Emacs-diffs] Changes to emacs/src/term.c,v
Date: Sun, 20 May 2007 05:09:34 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Nick Roberts <nickrob>  07/05/20 05:09:33

Index: term.c
===================================================================
RCS file: /sources/emacs/emacs/src/term.c,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -b -r1.178 -r1.179
--- term.c      20 May 2007 02:27:53 -0000      1.178
+++ term.c      20 May 2007 05:09:33 -0000      1.179
@@ -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;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]