changeset 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 35069180a991
children d38543a1c0f9
files src/ChangeLog.unicode src/dispextern.h
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog.unicode	Fri Oct 12 21:06:27 2007 +0000
+++ b/src/ChangeLog.unicode	Fri Oct 12 21:57:45 2007 +0000
@@ -1,3 +1,8 @@
+2007-10-12  Miles Bader  <miles@gnu.org>
+
+	* src/dispextern.h (struct glyph_row): Only define "clip" field if
+	HAVE_WINDOW_SYSTEM is defined.
+
 2007-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	Fix up multy-tty merge.
--- 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
 };