aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-cxux7.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-07-16 20:33:21 +0000
committerStan Shebs <shebs@codesourcery.com>1994-07-16 20:33:21 +0000
commitebe541dfcbfc9cc200ffbe7ee603e0c143f74fd4 (patch)
treef19204575d63757e74424d858977b0eb13ba9297 /readline/sysdep-cxux7.h
parentd4e36233257d3ea2af0f4aa31e323ad1f7f670dc (diff)
downloadgdb-ebe541dfcbfc9cc200ffbe7ee603e0c143f74fd4.zip
gdb-ebe541dfcbfc9cc200ffbe7ee603e0c143f74fd4.tar.gz
gdb-ebe541dfcbfc9cc200ffbe7ee603e0c143f74fd4.tar.bz2
* configure.in (m88*-harris-cxux7*): Recognize.
* sysdep-cxux7.h: New file.
Diffstat (limited to 'readline/sysdep-cxux7.h')
-rw-r--r--readline/sysdep-cxux7.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/readline/sysdep-cxux7.h b/readline/sysdep-cxux7.h
new file mode 100644
index 0000000..eba3644
--- /dev/null
+++ b/readline/sysdep-cxux7.h
@@ -0,0 +1,18 @@
+/* System-dependent stuff, for Harris CX/UX systems */
+
+#ifndef alloca /* May be a macro, with args. */
+extern char *alloca ();
+#endif
+
+#include <sys/types.h> /* Needed by dirent.h */
+#include <sys/stream.h>
+#include <dirent.h>
+typedef struct dirent dirent;
+
+/* SVR4 systems should use <termios.h> rather than <termio.h>. */
+#define _POSIX_VERSION
+
+/* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
+ definition in <termios.h>, since it's unconditionally defined in
+ <sys/ptem.h>. */
+#define _POSIX_SOURCE