]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix non-window-system compilation
authorMiles Bader <miles@gnu.org>
Fri, 12 Oct 2007 21:57:45 +0000 (21:57 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 12 Oct 2007 21:57:45 +0000 (21:57 +0000)
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

src/ChangeLog.unicode
src/dispextern.h

index 345890b36dbe8cb42a64689219538b0afb16a762..251de8f6bbe4094f96a589c41a223e6db4561142 100644 (file)
@@ -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.
index 1ba2955fcb973cd1f945bd90ba832511e029d5e0..32ecee96f607aea3dfc22a5e243c4161c3331d95 100644 (file)
@@ -853,9 +853,11 @@ struct glyph_row
   /* 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
 };