* config/solaris2.mh (HDEFINES): Remove -Dconst=
* hosts/solaris.h: If not __GNUC__, define const as empty.
This commit is contained in:
parent
47dddec52c
commit
ecb2d88791
2 changed files with 11 additions and 0 deletions
|
@ -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)
|
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.
|
* ecoff.c: Added various casts for 32/64 bit cross targeting.
|
||||||
|
|
|
@ -5,4 +5,10 @@
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GNUC__
|
||||||
|
# get around a bug in the Sun C compiler
|
||||||
|
#define const
|
||||||
|
#endif
|
||||||
|
|
||||||
/* That's all... */
|
/* That's all... */
|
||||||
|
|
Loading…
Reference in a new issue