]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't continue #define args for benefit of old cc.
authorDave Love <fx@gnu.org>
Mon, 13 Sep 1999 19:10:19 +0000 (19:10 +0000)
committerDave Love <fx@gnu.org>
Mon, 13 Sep 1999 19:10:19 +0000 (19:10 +0000)
(xt_action_hook): Indent #error for benefit of K&R cc.

src/xterm.c

index 1dba58293943836ca8757e942a010a0317bac07b..7265d7e50842a203ada48820b4a32e6df5d605cc 100644 (file)
@@ -4146,8 +4146,9 @@ x_set_glyph_string_background_width (s, start, last_x)
    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 @@ x_set_glyph_string_background_width (s, start, last_x)
    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 @@ x_set_glyph_string_background_width (s, start, last_x)
    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 @@ x_set_glyph_string_background_width (s, start, last_x)
    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 @@ xt_action_hook (widget, client_data, action_name, event, params,
   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