changeset 25692:121bd925411f

Don't continue #define args for benefit of old cc. (xt_action_hook): Indent #error for benefit of K&R cc.
author Dave Love <fx@gnu.org>
date Mon, 13 Sep 1999 19:10:19 +0000
parents 815efc48a80b
children b12ed057020a
files src/xterm.c
diffstat 1 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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