Skip to content

Commit

Permalink
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
Browse files Browse the repository at this point in the history
        that provide TIOCETC but not struct tchars.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16231 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
law committed Oct 30, 1997
1 parent 951d4a3 commit 1018258
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions texinfo/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 6 additions & 1 deletion texinfo/info/termdep.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 1018258

Please sign in to comment.