]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
David Billinghurst (David.Billinghurst@riotinto.com>
authorAndre Leis <a.leis@gmx.net>
Mon, 26 Aug 2002 07:11:39 +0000 (07:11 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Mon, 26 Aug 2002 07:11:39 +0000 (07:11 +0000)
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

gcc/ada/ChangeLog
gcc/ada/sysdep.c

index 89079948eec829ad1fc4525aaa009d2f938d9287..d349e5efe9e9911dfa3728838c41f7ee64c9140f 100644 (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.
index 69661b4e061c77dd4f9b2032f7da3315fabc3c69..0ee617323b5b499357733066e7340a753de49f82 100644 (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)
 \f
 #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;