From ecb2d8879152891e3f072a42efe0804de3938bf9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 3 Dec 1993 23:42:59 +0000 Subject: * config/solaris2.mh (HDEFINES): Remove -Dconst= * hosts/solaris.h: If not __GNUC__, define const as empty. --- bfd/hosts/solaris2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bfd/hosts') 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 #endif + +#ifndef __GNUC__ +# get around a bug in the Sun C compiler +#define const +#endif + /* That's all... */ -- cgit v1.1