diff options
-rw-r--r-- | readline/sysdep-aix.h | 3 | ||||
-rw-r--r-- | readline/sysdep-norm.h | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/readline/sysdep-aix.h b/readline/sysdep-aix.h new file mode 100644 index 0000000..9d7bfc5 --- /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 0000000..e96e431 --- /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 <alloca.h> +#else +extern char *alloca (); +#endif +#endif |