summaryrefslogtreecommitdiffstats
path: root/readline
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1991-11-21 22:49:25 +0000
committerStu Grossman <grossman@cygnus>1991-11-21 22:49:25 +0000
commita4ff7962b2cd286b5561fd77fbef3e36885f15c0 (patch)
tree767063f5ed5b1653df84f3630c705a1cf8de5af0 /readline
parente19c9d493286f8980d2232029203a66defad3634 (diff)
downloadppe42-binutils-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.tar.gz
ppe42-binutils-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.zip
Initial revision
Diffstat (limited to 'readline')
-rw-r--r--readline/sysdep-irix.h12
-rwxr-xr-xreadline/sysdep-newsos.h10
-rwxr-xr-xreadline/sysdep-oldbsd.h10
-rw-r--r--readline/sysdep-sco.h13
4 files changed, 45 insertions, 0 deletions
diff --git a/readline/sysdep-irix.h b/readline/sysdep-irix.h
new file mode 100644
index 0000000000..e69de15a80
--- /dev/null
+++ b/readline/sysdep-irix.h
@@ -0,0 +1,12 @@
+/* System-dependent stuff, for SGI irix */
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#else
+extern char *alloca ();
+#endif
+
+#include <sys/types.h>
+#include <sys/stream.h>
+#include <sys/dir.h>
+typedef struct direct dirent;
diff --git a/readline/sysdep-newsos.h b/readline/sysdep-newsos.h
new file mode 100755
index 0000000000..96078a23c1
--- /dev/null
+++ b/readline/sysdep-newsos.h
@@ -0,0 +1,10 @@
+/* System-dependent stuff, for ``normal'' systems */
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#else
+extern char *alloca ();
+#endif
+
+#include <sys/dir.h>
+typedef struct direct dirent;
diff --git a/readline/sysdep-oldbsd.h b/readline/sysdep-oldbsd.h
new file mode 100755
index 0000000000..96078a23c1
--- /dev/null
+++ b/readline/sysdep-oldbsd.h
@@ -0,0 +1,10 @@
+/* System-dependent stuff, for ``normal'' systems */
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#else
+extern char *alloca ();
+#endif
+
+#include <sys/dir.h>
+typedef struct direct dirent;
diff --git a/readline/sysdep-sco.h b/readline/sysdep-sco.h
new file mode 100644
index 0000000000..31af763b44
--- /dev/null
+++ b/readline/sysdep-sco.h
@@ -0,0 +1,13 @@
+/* System-dependent stuff, for SCO systems */
+
+#include <malloc.h>
+
+#ifdef __GNUC__
+#define alloca __builtin_alloca
+#endif
+
+#include <sys/types.h>
+#include <sys/stream.h>
+#include <sys/ptem.h>
+#include <dirent.h>
+typedef struct dirent dirent;
OpenPOWER on IntegriCloud