summaryrefslogtreecommitdiff
path: root/gcc/gengenrtl.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-16 16:21:54 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-16 16:21:54 +0000
commitdacecdaaf6ca3a16cd1eef406022d1dd8b0a9425 (patch)
tree6b08f4185f852ef5e20c8691f23fb6466c9881da /gcc/gengenrtl.c
parent43b9595876885fd323ca76bb75833ef9f8ddcedc (diff)
downloadgcc-dacecdaaf6ca3a16cd1eef406022d1dd8b0a9425.tar.gz
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17380 138bc75d-0d04-0410-961f-82ee72b054a4
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[] =
{