aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1997-10-30 05:55:14 +0000
committerJeff Law <law@gcc.gnu.org>1997-10-29 22:55:14 -0700
commit70f89f0d1d72f6eee99b6e9b320aaae0da35337e (patch)
treeb5ddc014c8ac42bf37b56ad056136015b6bee0bf
parent05ef204d6d34bd2e8335790b280ef391f0b63c31 (diff)
downloadgcc-70f89f0d1d72f6eee99b6e9b320aaae0da35337e.zip
gcc-70f89f0d1d72f6eee99b6e9b320aaae0da35337e.tar.gz
gcc-70f89f0d1d72f6eee99b6e9b320aaae0da35337e.tar.bz2
termdep.h: If POSIX...
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems that provide TIOCETC but not struct tchars. From-SVN: r16231
-rw-r--r--texinfo/ChangeLog5
-rw-r--r--texinfo/info/termdep.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog
index 7b72da2..59f1d9d 100644
--- a/texinfo/ChangeLog
+++ b/texinfo/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 29 22:56:46 1997 Robert Lipe (robertl@dgii.com)
+
+ * info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
+ that provide TIOCETC but not struct tchars.
+
Wed Oct 15 09:49:57 1997 Richard Henderson <rth@cygnus.com>
* info/man.c (find_man_formatter): Don't cast getenv(), but provide
diff --git a/texinfo/info/termdep.h b/texinfo/info/termdep.h
index 4f8ce90..4cad5ff 100644
--- a/texinfo/info/termdep.h
+++ b/texinfo/info/termdep.h
@@ -1,5 +1,5 @@
/* termdep.h -- System things that terminal.c depends on.
- $Id: termdep.h,v 1.3 1996/10/02 22:23:52 karl Exp $
+ $Id: termdep.h,v 1.2 1997/10/30 05:55:14 law Exp $
This file is part of GNU Info, a program for reading online documentation
stored in Info format.
@@ -45,6 +45,11 @@
#if defined (HAVE_TERMIOS_H)
# include <termios.h>
+/*
+ * POSIX does not mandate that we have these and it may, in fact, be only
+ * partially implemented
+ */
+# undef TIOCGETC
#else
# if defined (HAVE_TERMIO_H)
# include <termio.h>