changeset 50193:dadd724b7ce9

Fix compilation with --with-x=no.
author Kim F. Storm <storm@cua.dk>
date Tue, 18 Mar 2003 23:46:21 +0000
parents c8111b6d2b32
children dc8403640b05
files src/dispextern.h src/xdisp.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Tue Mar 18 22:09:06 2003 +0000
+++ b/src/dispextern.h	Tue Mar 18 23:46:21 2003 +0000
@@ -933,6 +933,8 @@
   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 *next, *prev;
 };
 
+#endif /* HAVE_WINDOW_SYSTEM */
 
 
 /************************************************************************
@@ -2160,6 +2163,8 @@
   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 @@
 /* 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.  */
--- a/src/xdisp.c	Tue Mar 18 22:09:06 2003 +0000
+++ b/src/xdisp.c	Tue Mar 18 23:46:21 2003 +0000
@@ -15665,6 +15665,8 @@
 			     Glyph Display
  ***********************************************************************/
 
+#ifdef HAVE_WINDOW_SYSTEM
+
 #if GLYPH_DEBUG
 
 void
@@ -17647,7 +17649,7 @@
 }
 
 
-
+#endif /* HAVE_WINDOW_SYSTEM */