diff options
author | Andre Leis <a.leis@gmx.net> | 2002-08-25 00:59:31 +0000 |
---|---|---|
committer | David Billinghurst <billingd@gcc.gnu.org> | 2002-08-25 00:59:31 +0000 |
commit | d241f75b9693bad3e4990196c2e3e785e73e7e70 (patch) | |
tree | acb6632b6f8f88b8da250a29f975d2ec40735fb1 /gcc/ada/sysdep.c | |
parent | 6e0532cdf6f9fb4776bfa0f05a29c06a362d466b (diff) | |
download | gcc-d241f75b9693bad3e4990196c2e3e785e73e7e70.zip gcc-d241f75b9693bad3e4990196c2e3e785e73e7e70.tar.gz gcc-d241f75b9693bad3e4990196c2e3e785e73e7e70.tar.bz2 |
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: r56558
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r-- | gcc/ada/sysdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index 13103ef..ab32fa8 100644 --- a/gcc/ada/sysdep.c +++ b/gcc/ada/sysdep.c @@ -294,7 +294,8 @@ __gnat_ttyname (filedes) #if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \ || (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \ || defined (__MACHTEN__) || defined (hpux) || defined (_AIX) \ - || (defined (__svr4__) && defined (i386)) || defined (__Lynx__) + || (defined (__svr4__) && defined (i386)) || defined (__Lynx__) \ + || defined (__CYGWIN__) #include <termios.h> #else @@ -349,7 +350,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 (hpux) \ + || defined (__CYGWIN__) || defined (__MACHTEN__) || defined (hpux) \ || defined (_AIX) || (defined (__svr4__) && defined (i386)) \ || defined (__Lynx__) char c; |