diff src/dispextern.h @ 91047:1cf8ecbaa1dc

Fix non-window-system compilation src/dispextern.h (struct glyph_row): Only define "clip" field if HAVE_WINDOW_SYSTEM is defined. Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-263
author Miles Bader <miles@gnu.org>
date Fri, 12 Oct 2007 21:57:45 +0000
parents bdb3fe0ba9fa
children a0e466c4d599
line wrap: on
line diff
--- a/src/dispextern.h	Fri Oct 12 21:06:27 2007 +0000
+++ b/src/dispextern.h	Fri Oct 12 21:57:45 2007 +0000
@@ -853,9 +853,11 @@
   /* Continuation lines width at the start of the row.  */
   int continuation_lines_width;
 
+#ifdef HAVE_WINDOW_SYSTEM
   /* Non-NULL means the current clipping area.  This is temporarily
      set while exposing a region.  Coordinates are frame-relative.  */
   XRectangle *clip;
+#endif
 };