# HG changeset patch # User Miles Bader # Date 1192226265 0 # Node ID 1cf8ecbaa1dc4eee9592e152060082bfeb088457 # Parent 35069180a991d8453a4e921a406d0381c1f6b760 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 diff -r 35069180a991 -r 1cf8ecbaa1dc src/ChangeLog.unicode --- 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 + + * src/dispextern.h (struct glyph_row): Only define "clip" field if + HAVE_WINDOW_SYSTEM is defined. + 2007-10-12 Stefan Monnier Fix up multy-tty merge. diff -r 35069180a991 -r 1cf8ecbaa1dc src/dispextern.h --- 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 };