projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use kill instead of sigqueue: re-enables AIO on OpenBSD
[qemu]
/
configure
diff --git
a/configure
b/configure
index
57e2d57
..
6a1432a
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-1005,9
+1005,7
@@
if test "$aio" = "yes" ; then
aio=no
cat > $TMPC << EOF
#include <pthread.h>
aio=no
cat > $TMPC << EOF
#include <pthread.h>
-#include <signal.h>
-int main(void) { struct sigevent s; pthread_mutex_t lock;
- return sigqueue(0, 0, s.sigev_value); }
+int main(void) { pthread_mutex_t lock; return 0; }
EOF
if $cc $ARCH_CFLAGS -o $TMPE $AIOLIBS $TMPC 2> /dev/null ; then
aio=yes
EOF
if $cc $ARCH_CFLAGS -o $TMPE $AIOLIBS $TMPC 2> /dev/null ; then
aio=yes