aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/solaris2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/hosts/solaris2.h b/bfd/hosts/solaris2.h
index f423a1c..458ecc9 100644
--- a/bfd/hosts/solaris2.h
+++ b/bfd/hosts/solaris2.h
@@ -5,4 +5,10 @@
#ifndef __GNUC__
#include <alloca.h>
#endif
+
+#ifndef __GNUC__
+# get around a bug in the Sun C compiler
+#define const
+#endif
+
/* That's all... */