Untested attempt to get rid of SIGIO pain
[gnokii.git] / common / devices / unixserial.c
index c98d27f..b2e4f6e 100644 (file)
@@ -116,6 +116,7 @@ int serial_opendevice(__const char *__file, int __with_odd_parity, int __with_as
   if (fd < 0) 
     return fd;
 
   if (fd < 0) 
     return fd;
 
+#ifndef UCLINUX
   /* Allow process/thread to receive SIGIO */
 
 #if !(__unices__)
   /* Allow process/thread to receive SIGIO */
 
 #if !(__unices__)
@@ -137,6 +138,7 @@ int serial_opendevice(__const char *__file, int __with_odd_parity, int __with_as
       return(-1);
     }
   }
       return(-1);
     }
   }
+#endif /* UCLINUX */
   
   /* Initialise the port settings */
 
   
   /* Initialise the port settings */