summaryrefslogtreecommitdiffstats
path: root/readline/sysdep-newsos.h
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/sysdep-newsos.h
parente19c9d493286f8980d2232029203a66defad3634 (diff)
downloadppe42-binutils-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.tar.gz
ppe42-binutils-a4ff7962b2cd286b5561fd77fbef3e36885f15c0.zip
Initial revision
Diffstat (limited to 'readline/sysdep-newsos.h')
-rwxr-xr-xreadline/sysdep-newsos.h10
1 files changed, 10 insertions, 0 deletions
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;
OpenPOWER on IntegriCloud