aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1995-04-08 20:38:16 +0000
committerMike Stump <mrs@gcc.gnu.org>1995-04-08 20:38:16 +0000
commit3b9835d76b9bf19de6a891016db1f48282b6e8c5 (patch)
treee304e53207061aed993f47e259e293e1ad90cd25 /gcc/cpphash.c
parente9cdf6e48c50fc5a2ac262d1626bdcab954bd2db (diff)
downloadgcc-3b9835d76b9bf19de6a891016db1f48282b6e8c5.zip
gcc-3b9835d76b9bf19de6a891016db1f48282b6e8c5.tar.gz
gcc-3b9835d76b9bf19de6a891016db1f48282b6e8c5.tar.bz2
* cpphash.c: Don't use const on compilers that don't support it.
From-SVN: r9338
Diffstat (limited to 'gcc/cpphash.c')
-rw-r--r--gcc/cpphash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cpphash.c b/gcc/cpphash.c
index fe7cbbf..2ca007c 100644
--- a/gcc/cpphash.c
+++ b/gcc/cpphash.c
@@ -31,6 +31,11 @@ Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#define NULL 0
#endif
+#ifndef __STDC__
+#define const
+#define volatile
+#endif
+
/*
* return hash function on name. must be compatible with the one
* computed a step at a time, elsewhere