* config/solaris2.mh (HDEFINES): Remove -Dconst=
authorIan Lance Taylor <ian@airs.com>
Fri, 3 Dec 1993 23:42:59 +0000 (23:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 3 Dec 1993 23:42:59 +0000 (23:42 +0000)
* hosts/solaris.h: If not __GNUC__, define const as empty.

bfd/ChangeLog
bfd/hosts/solaris2.h

index a0d0cb922bc79adc8b9f5c712f841338db0158df..978eab08dfef6e47f1d7b7b70a497acc4b846491 100644 (file)
@@ -1,3 +1,8 @@
+Fri Dec  3 18:40:58 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/solaris2.mh (HDEFINES): Remove -Dconst=
+       * hosts/solaris.h: If not __GNUC__, define const as empty.
+
 Thu Dec  2 15:43:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * ecoff.c: Added various casts for 32/64 bit cross targeting.
index f423a1c512f1782d244dd080b861e5077daeda4e..458ecc9b2ed044a6c8321c85a7b11766e53ed786 100644 (file)
@@ -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... */
This page took 0.05173 seconds and 4 git commands to generate.