From 51493cdb63a83fdd3f019f5c6f098e41d8fe5f24 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sat, 9 Nov 1991 11:24:32 +0000 Subject: [PATCH] Initial revision --- readline/sysdep-aix.h | 3 +++ readline/sysdep-norm.h | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 readline/sysdep-aix.h create mode 100644 readline/sysdep-norm.h diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h new file mode 100644 index 00000000000..9d7bfc5b045 --- /dev/null +++ b/readline/sysdep-aix.h @@ -0,0 +1,3 @@ +/* System-dependent stuff for AIX 3.1 on RS/6000 */ + +#pragma alloca diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h new file mode 100644 index 00000000000..e96e431ba1e --- /dev/null +++ b/readline/sysdep-norm.h @@ -0,0 +1,11 @@ +/* System-dependent stuff, for ``normal'' systems */ + +#ifdef __GNUC__ +#define alloca __builtin_alloca +#else +#if defined (sparc) && defined (sun) +#include +#else +extern char *alloca (); +#endif +#endif -- 2.30.2