aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-norm.h
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 /readline/sysdep-norm.h
parent19405dda9871396899906faab0a31e9a447fc635 (diff)
downloadgdb-51493cdb63a83fdd3f019f5c6f098e41d8fe5f24.zip
gdb-51493cdb63a83fdd3f019f5c6f098e41d8fe5f24.tar.gz
gdb-51493cdb63a83fdd3f019f5c6f098e41d8fe5f24.tar.bz2
Initial revision
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r--readline/sysdep-norm.h11
1 files changed, 11 insertions, 0 deletions
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