From: Kim F. Storm Date: Tue, 18 Mar 2003 23:46:21 +0000 (+0000) Subject: Fix compilation with --with-x=no. X-Git-Tag: ttn-vms-21-2-B4~10848 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=79fa9e0fe078dfbaff0585c49f965fdbb77bf6ba;p=emacs.git Fix compilation with --with-x=no. --- diff --git a/src/dispextern.h b/src/dispextern.h index 643f76e66cd..00bb2ca0950 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -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 */ /************************************************************************ @@ -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. */ diff --git a/src/xdisp.c b/src/xdisp.c index c8e1ad2df60..20111e4988a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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 */