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
This commit is contained in:
Robert Lipe 1997-10-30 05:55:14 +00:00 committed by Jeff Law
parent 05ef204d6d
commit 70f89f0d1d
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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>