Browse Source

* sysdep-norm.h (alloca): Protect against previous definition as

a macro with arguments.
gdb-4_18-branch
Fred Fish 35 years ago
parent
commit
56e5eadc57
  1. 5
      readline/ChangeLog
  2. 2
      readline/sysdep-norm.h

5
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.

2
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 */

Loading…
Cancel
Save