summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1998-01-16 08:21:54 -0800
committerRichard Henderson <rth@gcc.gnu.org>1998-01-16 08:21:54 -0800
commit5d483f6374af1250bea9d3de85e23879aecb3cbf (patch)
tree6b08f4185f852ef5e20c8691f23fb6466c9881da /gcc/gengenrtl.c
parentceb832060c23ab05d8c5e463c4ed7d5ac4cea5ca (diff)
downloadgcc-5d483f6374af1250bea9d3de85e23879aecb3cbf.tar.gz
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
From-SVN: r17380
Diffstat (limited to 'gcc/gengenrtl.c')
-rw-r--r--gcc/gengenrtl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gengenrtl.c b/gcc/gengenrtl.c
index b929f67e307..c33d6fd2579 100644
--- a/gcc/gengenrtl.c
+++ b/gcc/gengenrtl.c
@@ -35,7 +35,11 @@ struct rtx_definition
const char *enumname, *name, *format;
};
+#ifdef __STDC__
#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[] =
{