aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-11-09 11:24:32 +0000
committerJohn Gilmore <gnu@cygnus>1991-11-09 11:24:32 +0000
commit51493cdb63a83fdd3f019f5c6f098e41d8fe5f24 (patch)
tree1f86ce7f53c4fd98c56d169333026af5322f77ca
parent19405dda9871396899906faab0a31e9a447fc635 (diff)
downloadgdb-51493cdb63a83fdd3f019f5c6f098e41d8fe5f24.zip
gdb-51493cdb63a83fdd3f019f5c6f098e41d8fe5f24.tar.gz
gdb-51493cdb63a83fdd3f019f5c6f098e41d8fe5f24.tar.bz2
Initial revision
-rw-r--r--readline/sysdep-aix.h3
-rw-r--r--readline/sysdep-norm.h11
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