]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation with --with-x=no.
authorKim F. Storm <storm@cua.dk>
Tue, 18 Mar 2003 23:46:21 +0000 (23:46 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 18 Mar 2003 23:46:21 +0000 (23:46 +0000)
src/dispextern.h
src/xdisp.c

index 643f76e66cd992e2bb5000c6c76da9578c4a6535..00bb2ca09505fa8922e74dcfa8410d78a27f6862 100644 (file)
@@ -933,6 +933,8 @@ enum draw_glyphs_face
   DRAW_IMAGE_SUNKEN
 };
 
+#ifdef HAVE_WINDOW_SYSTEM
+
 /* A sequence of glyphs to be drawn in the same face.  */
 
 struct glyph_string
@@ -1050,6 +1052,7 @@ struct glyph_string
   struct glyph_string *next, *prev;
 };
 
+#endif /* HAVE_WINDOW_SYSTEM */
 
 \f
 /************************************************************************
@@ -2160,6 +2163,8 @@ struct redisplay_interface
   void (*fix_overlapping_area) P_ ((struct window *w, struct glyph_row *row,
                                    enum glyph_row_area area));
 
+#ifdef HAVE_WINDOW_SYSTEM
+
   /* Draw a fringe bitmap in window W of row ROW using parameters P.  */
   void (*draw_fringe_bitmap) P_ ((struct window *w, struct glyph_row *row,
                                  struct draw_fringe_bitmap_params *p));
@@ -2182,6 +2187,7 @@ struct redisplay_interface
 /* Draw a glyph string S.  */
   void (*draw_glyph_string) P_ ((struct glyph_string *s));
 
+#endif /* HAVE_WINDOW_SYSTEM */
 };
 
 /* The current interface for window-based redisplay.  */
index c8e1ad2df60dcb143487dff8df8d6d68592d59dc..20111e4988ad4bac29a7d4564bf81f5dc8667ee7 100644 (file)
@@ -15665,6 +15665,8 @@ invisible_p (propval, list)
                             Glyph Display
  ***********************************************************************/
 
+#ifdef HAVE_WINDOW_SYSTEM
+
 #if GLYPH_DEBUG
 
 void
@@ -17647,7 +17649,7 @@ x_produce_glyphs (it)
 }
 
 
-
+#endif /* HAVE_WINDOW_SYSTEM */
 
 
 \f