OSDN Git Service

2002-08-25 Andre Leis <a.leis@gmx.net>
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Aug 2002 00:59:31 +0000 (00:59 +0000)
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Aug 2002 00:59:31 +0000 (00:59 +0000)
            David Billinghurst (David.Billinghurst@riotinto.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56558 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5cefb6e..5abdca2 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-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
index 13103ef..ab32fa8 100644 (file)
@@ -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;