diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-16 16:21:54 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-16 16:21:54 +0000 |
commit | dacecdaaf6ca3a16cd1eef406022d1dd8b0a9425 (patch) | |
tree | 6b08f4185f852ef5e20c8691f23fb6466c9881da /gcc | |
parent | 43b9595876885fd323ca76bb75833ef9f8ddcedc (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gengenrtl.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4fa38b84fc5..6cca89c3f9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +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) * calls.c (expand_call): Move #ifdef code out of macro argument 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[] = { |