# HG changeset patch # User Dave Love # Date 937249819 0 # Node ID 121bd925411f53f963c476f7158881881238a105 # Parent 815efc48a80b8169ab180da485e0eb0255da4004 Don't continue #define args for benefit of old cc. (xt_action_hook): Indent #error for benefit of K&R cc. diff -r 815efc48a80b -r 121bd925411f src/xterm.c --- a/src/xterm.c Mon Sep 13 19:06:32 1999 +0000 +++ b/src/xterm.c Mon Sep 13 19:10:19 1999 +0000 @@ -4146,8 +4146,9 @@ glyph; e.g. it is DRAW_CURSOR if a cursor has to be drawn. LAST_X is the right-most x-position of the drawing area. */ -#define BUILD_STRETCH_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, \ - HL, X, LAST_X) \ +/* SunOS 4 bundled cc, barfed on continuations in the arg lists here + and below -- keep them on one line. */ +#define BUILD_STRETCH_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X) \ do \ { \ s = (struct glyph_string *) alloca (sizeof *s); \ @@ -4168,8 +4169,7 @@ glyph; e.g. it is DRAW_CURSOR if a cursor has to be drawn. LAST_X is the right-most x-position of the drawing area. */ -#define BUILD_IMAGE_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, \ - HL, X, LAST_X) \ +#define BUILD_IMAGE_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X) \ do \ { \ s = (struct glyph_string *) alloca (sizeof *s); \ @@ -4191,8 +4191,7 @@ is DRAW_CURSOR if a cursor has to be drawn. LAST_X is the right-most x-position of the drawing area. */ -#define BUILD_CHAR_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, \ - X, LAST_X, OVERLAPS_P) \ +#define BUILD_CHAR_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X, OVERLAPS_P) \ do \ { \ int c, charset, face_id; \ @@ -4273,8 +4272,7 @@ to allocate glyph strings (because x_draw_glyphs can be called asynchronously). */ -#define BUILD_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, \ - X, LAST_X, OVERLAPS_P) \ +#define BUILD_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X, OVERLAPS_P) \ do \ { \ HEAD = TAIL = NULL; \ @@ -7143,7 +7141,7 @@ scroll_bar_p = XtIsSubclass (widget, scrollbarWidgetClass); end_action = "EndScroll"; #else -#error unknown scroll bar toolkit + #error unknown scroll bar toolkit #endif /* HAVE_XAW3D */ /* Although LessTif uses XtTimeouts like Xaw3d, the timer hack to