diff src/keyboard.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 677a47b3c116
children 3600cdf01ab7 0a3247aa24a4
line wrap: on
line diff
--- a/src/keyboard.c	Sun May 20 05:07:36 2007 +0000
+++ b/src/keyboard.c	Sun May 20 05:09:33 2007 +0000
@@ -6008,7 +6008,7 @@
       }
 #endif
 
-#ifdef HAVE_GPM_H
+#ifdef HAVE_GPM
     case GPM_CLICK_EVENT:
       {
 	FRAME_PTR f = XFRAME (event->frame_or_window);
@@ -6066,7 +6066,7 @@
 			Fcons (position,
 			       Qnil));
        }
-#endif /* HAVE_GPM_H */
+#endif /* HAVE_GPM */
 
       /* The 'kind' field of the event is something we don't recognize.  */
     default:
@@ -6925,7 +6925,7 @@
       if (n_to_read == 0)
 	return 0;
 #else /* not MSDOS */
-#ifdef HAVE_GPM_H
+#ifdef HAVE_GPM
       if (term_gpm)
 	{
 	  Gpm_Event event;
@@ -6943,7 +6943,7 @@
 	  if (nread)
 	    return nread;
 	}
-#endif /* HAVE_GPM_H */
+#endif /* HAVE_GPM */
 #ifdef FIONREAD
 
      /* Find out how much input is available.  */