1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / ser-unix.c
index f279c94cfdb9308133e4a195cbd1b0b4e834b48e..6b34d8b630cc8bb925bf38a4510435f5b7bf43cb 100644 (file)
@@ -85,7 +85,7 @@ static int hardwire_setstopbits PARAMS ((serial_t, int));
 
 void _initialize_ser_hardwire PARAMS ((void));
 
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
 extern void (*ui_loop_hook) PARAMS ((int));
 #endif
 
@@ -434,7 +434,7 @@ wait_for(scb, timeout)
      serial_t scb;
      int timeout;
 {
-#ifndef __CYGWIN32__
+#ifndef __CYGWIN__
   scb->timeout_remaining = 0;
 #endif
 
@@ -551,21 +551,21 @@ hardwire_readchar (scb, timeout)
      int timeout;
 {
   int status;
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
   int t;
 #endif
 
   if (scb->bufcnt-- > 0)
     return *scb->bufp++;
 
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
   if (timeout > 0)
     timeout++;
 #endif
 
   while (1)
     {
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
       t = timeout == 0 ? 0 : 1;
       scb->timeout_remaining = timeout < 0 ? timeout : timeout - t;
       status = wait_for (scb, t);
@@ -592,7 +592,7 @@ hardwire_readchar (scb, timeout)
                  timeout = scb->timeout_remaining;
                  continue;
                }
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
           else if (scb->timeout_remaining < 0)
             continue;
 #endif
This page took 0.023835 seconds and 4 git commands to generate.