diff options
author | Robert Lipe <robertl@dgii.com> | 1997-10-30 05:55:14 +0000 |
---|---|---|
committer | Jeffrey A Law <law@cygnus.com> | 1997-10-30 05:55:14 +0000 |
commit | 6ea7073b32fed940940a70dd06994ef4f42ffa34 (patch) | |
tree | b5ddc014c8ac42bf37b56ad056136015b6bee0bf /texinfo/info | |
parent | 6c72f8728bcac61ebe5f8bd5281e8fe8c53fe217 (diff) |
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
that provide TIOCETC but not struct tchars.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@16231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'texinfo/info')
-rw-r--r-- | texinfo/info/termdep.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 <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> |