diff options
author | Fred Fish <fnf@specifix.com> | 1996-08-11 22:05:41 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-08-11 22:05:41 +0000 |
commit | 51da2b4a486b9ae5da28a58a74b4963a4e0ce4cb (patch) | |
tree | 0107fbcf1c90717523c2604af0812f55ff7f01be /readline | |
parent | 10e3e339410a41cf27969de6a348aab27b007c89 (diff) | |
download | binutils-51da2b4a486b9ae5da28a58a74b4963a4e0ce4cb.zip binutils-51da2b4a486b9ae5da28a58a74b4963a4e0ce4cb.tar.gz binutils-51da2b4a486b9ae5da28a58a74b4963a4e0ce4cb.tar.bz2 |
* rldefs.h: If __osf__is defined, include <termio.h> instead of
<sgtty.h>.
Diffstat (limited to 'readline')
-rw-r--r-- | readline/ChangeLog | 5 | ||||
-rw-r--r-- | readline/rldefs.h | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog index 681b206..e92f1cd 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 11 14:59:09 1996 Fred Fish <fnf@cygnus.com> + + * rldefs.h: If __osf__is defined, include <termio.h> instead of + <sgtty.h>. + Fri Aug 9 08:54:26 1996 Stu Grossman (grossman@critters.cygnus.com) * bind.c complete.c history.c readline.c: Don't include sys/file.h. diff --git a/readline/rldefs.h b/readline/rldefs.h index d6b9b06..3b7a623 100644 --- a/readline/rldefs.h +++ b/readline/rldefs.h @@ -65,15 +65,16 @@ /* System V machines use termio. */ #if !defined (_POSIX_VERSION) -/* CYGNUS LOCAL accept __hpux as well as hpux for HP compiler in ANSI mode. */ -# if defined (USG) || defined (hpux) || defined (__hpux) || defined (Xenix) || defined (sgi) || defined (DGUX) +/* CYGNUS LOCAL accept __hpux as well as hpux for HP compiler in ANSI mode. + Add __osf__ to list of machines to force use of termio.h */ +# if defined (USG) || defined (hpux) || defined (__hpux) || defined (Xenix) || defined (sgi) || defined (DGUX) || defined (__osf__) # undef NEW_TTY_DRIVER # define TERMIO_TTY_DRIVER # include <termio.h> # if !defined (TCOON) # define TCOON 1 # endif -# endif /* USG || hpux || Xenix || sgi || DUGX */ +# endif /* USG || hpux || Xenix || sgi || DUGX || __osf__ */ #endif /* !_POSIX_VERSION */ /* Posix systems use termios and the Posix signal functions. */ |