diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-19 03:12:55 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-19 03:12:55 +0000 |
commit | fe274e289933186d790d374de245cc293b1a4c6b (patch) | |
tree | 1cf97f7972cbaadc1fb26405dfc3a6ad0d7103b2 /gcc/config/m68k/xm-mot3300.h | |
parent | f94815084f77d174df569e6c8521f60814c0856e (diff) | |
download | gcc-fe274e289933186d790d374de245cc293b1a4c6b.tar.gz |
* m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
* mips/mips.h (alloca): Likewise.
* rs6000/xm-rs6000.h (alloca): Likewise.
* rs6000/xm-sysv4.h: Likewise.
Fixes build problem when using an ANSI compiler that isn't gcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15557 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/xm-mot3300.h')
-rw-r--r-- | gcc/config/m68k/xm-mot3300.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/m68k/xm-mot3300.h b/gcc/config/m68k/xm-mot3300.h index b20be33f99e..0c1ec676115 100644 --- a/gcc/config/m68k/xm-mot3300.h +++ b/gcc/config/m68k/xm-mot3300.h @@ -36,8 +36,12 @@ Boston, MA 02111-1307, USA. */ /* do not use alloca from -lPW with cc, because function epilogues use %sp */ #ifndef __GNUC__ #define USE_C_ALLOCA +#ifdef __STDC__ +extern void *alloca (); +#else extern char *alloca (); #endif +#endif /* Override part of the obstack macros. */ |