mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Use kill instead of sigqueue: re-enables AIO on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6360 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
63c75dcd66
commit
c9db92fcc1
4 changed files with 4 additions and 9 deletions
4
configure
vendored
4
configure
vendored
|
@ -1005,9 +1005,7 @@ if test "$aio" = "yes" ; then
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue