diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-24 05:00:25 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-24 05:00:25 +0000 |
commit | 56e5eadc5713d72fb414176766dbee1dbaddf1ad (patch) | |
tree | f345aef4936578d79d71e6de2131008795a8f497 /readline | |
parent | ec6b2951dab0ccf32cef4cc4b8f6eb0857eb7172 (diff) | |
download | gdb-56e5eadc5713d72fb414176766dbee1dbaddf1ad.zip gdb-56e5eadc5713d72fb414176766dbee1dbaddf1ad.tar.gz gdb-56e5eadc5713d72fb414176766dbee1dbaddf1ad.tar.bz2 |
* sysdep-norm.h (alloca): Protect against previous definition as
a macro with arguments.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/ChangeLog | 5 | ||||
-rw-r--r-- | readline/sysdep-norm.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog index f41e371..53cec69 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 <sys/types.h> to make this more Kosher. diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h index 158b504..9df4040 100644 --- a/readline/sysdep-norm.h +++ b/readline/sysdep-norm.h @@ -6,8 +6,10 @@ #if defined (sparc) && defined (sun) #include <alloca.h> #endif +#ifndef alloca /* May be a macro, with args. */ extern char *alloca (); #endif +#endif #include <sys/types.h> /* Needed by dirent.h */ |