David Billinghurst (David.Billinghurst@riotinto.com>

2002-08-25  Andre Leis <a.leis@gmx.net>
	    David Billinghurst (David.Billinghurst@riotinto.com>

	* sysdep.c (__gnat_ttyname): include <termios.h> on cygwin

Co-Authored-By: David Billinghurst <David.Billinghurst@riotinto.com>

From-SVN: r56575
This commit is contained in:
Andre Leis 2002-08-26 07:11:39 +00:00 committed by David Billinghurst
parent 1eb4e3828b
commit bebf4bbeb1
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-08-25 Andre Leis <a.leis@gmx.net>
David Billinghurst (David.Billinghurst@riotinto.com>
* sysdep.c (__gnat_ttyname): include <termios.h> on cygwin
2002-08-14 Release Manager
* GCC 3.2 Released.

View File

@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
* $Revision: 1.5 $
* $Revision: 1.5.10.1 $
* *
* Copyright (C) 1992-2001 Free Software Foundation, Inc. *
* *
@ -292,7 +292,7 @@ __gnat_ttyname (filedes)
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|| (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \
|| defined (__MACHTEN__)
|| defined (__MACHTEN__) || defined (__CYGWIN__)
#include <termios.h>
#else
@ -347,7 +347,7 @@ getc_immediate_common (stream, ch, end_of_file, avail, waiting)
{
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|| (defined (__osf__) && ! defined (__alpha_vxworks)) \
|| defined (__CYGWIN32__) || defined (__MACHTEN__)
|| defined (__CYGWIN__) || defined (__MACHTEN__)
char c;
int nread;
int good_one = 0;