git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Untested attempt to get rid of SIGIO pain
[gnokii.git]
/
common
/
devices
/
unixserial.c
diff --git
a/common/devices/unixserial.c
b/common/devices/unixserial.c
index
c98d27f
..
b2e4f6e
100644
(file)
--- a/
common/devices/unixserial.c
+++ b/
common/devices/unixserial.c
@@
-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 */