Commit 5d483f63 by Richard Henderson Committed by Richard Henderson

* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.

From-SVN: r17380
parent ceb83206
Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com) Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
* calls.c (expand_call): Move #ifdef code out of macro argument * calls.c (expand_call): Move #ifdef code out of macro argument
......
...@@ -35,7 +35,11 @@ struct rtx_definition ...@@ -35,7 +35,11 @@ struct rtx_definition
const char *enumname, *name, *format; const char *enumname, *name, *format;
}; };
#ifdef __STDC__
#define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { # ENUM, NAME, FORMAT }, #define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { # ENUM, NAME, FORMAT },
#else
#define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS) { "ENUM", NAME, FORMAT },
#endif
struct rtx_definition defs[] = struct rtx_definition defs[] =
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment