From 70f89f0d1d72f6eee99b6e9b320aaae0da35337e Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Thu, 30 Oct 1997 05:55:14 +0000 Subject: [PATCH] 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 --- texinfo/ChangeLog | 5 +++++ texinfo/info/termdep.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/texinfo/ChangeLog b/texinfo/ChangeLog index 7b72da27e03..59f1d9d8ba6 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 * 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 4f8ce9057cc..4cad5ffd287 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 +/* + * 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