From: Fred Fish Date: Wed, 24 Jun 1992 05:00:25 +0000 (+0000) Subject: * sysdep-norm.h (alloca): Protect against previous definition as X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56e5eadc5713d72fb414176766dbee1dbaddf1ad;p=binutils-gdb.git * sysdep-norm.h (alloca): Protect against previous definition as a macro with arguments. --- diff --git a/readline/ChangeLog b/readline/ChangeLog index f41e371739f..53cec69c9f8 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 23 21:59:20 1992 Fred Fish (fnf@cygnus.com) + + * sysdep-norm.h (alloca): Protect against previous definition as + a macro with arguments. + Fri Jun 19 15:48:54 1992 Stu Grossman (grossman at cygnus.com) * sysdep-obsd.h: #include to make this more Kosher. diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index 158b50406ee..9df4040760c 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -6,8 +6,10 @@ #if defined (sparc) && defined (sun) #include #endif +#ifndef alloca /* May be a macro, with args. */ extern char *alloca (); #endif +#endif #include /* Needed by dirent.h */