aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-norm.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-02-18 01:20:46 +0000
committerFred Fish <fnf@specifix.com>1992-02-18 01:20:46 +0000
commit5bb14552fd72c35dbb19390548af08c44608aad2 (patch)
tree531db6620d499760442527f0969cc5d3751d27da /readline/sysdep-norm.h
parent9e4c1921e564e417bc1ad9f76404161c59456ce2 (diff)
downloadfsf-binutils-gdb-5bb14552fd72c35dbb19390548af08c44608aad2.zip
fsf-binutils-gdb-5bb14552fd72c35dbb19390548af08c44608aad2.tar.gz
fsf-binutils-gdb-5bb14552fd72c35dbb19390548af08c44608aad2.tar.bz2
* readline.c (readline_default_bindings): Only make use of VLNEXT
when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4 <termio.h> includes <termios.h>, so VLNEXT is always defined. * sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4 systems so that <termios.h> gets used, instead of <termio.h>.
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r--readline/sysdep-norm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h
index 0986659..158b504 100644
--- a/readline/sysdep-norm.h
+++ b/readline/sysdep-norm.h
@@ -20,3 +20,9 @@ extern char *alloca ();
#include <dirent.h>
typedef struct dirent dirent;
+
+/* SVR4 systems should use <termios.h> rather than <termio.h>. */
+
+#if defined (USGr4)
+#define _POSIX_VERSION
+#endif