diff options
author | Brad Smith | 2012-12-28 07:38:11 +0100 |
---|---|---|
committer | Blue Swirl | 2012-12-28 17:11:52 +0100 |
commit | 927fa909d5d5cf8c07673cd16a6d3bdc81250bc0 (patch) | |
tree | 365f5555e4cdb549e363a69ee7c1153765dc882f /include/qemu | |
parent | usb/redirect.c: unbreak compilation due to include/char/char.h (diff) | |
download | qemu-927fa909d5d5cf8c07673cd16a6d3bdc81250bc0.tar.gz qemu-927fa909d5d5cf8c07673cd16a6d3bdc81250bc0.tar.xz qemu-927fa909d5d5cf8c07673cd16a6d3bdc81250bc0.zip |
Disable semaphores fallback code for OpenBSD
Disable the semaphores fallback code for OpenBSD as modern OpenBSD
releases now have sem_timedwait().
Signed-off-by: Brad Smith <brad@comstyle.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/thread-posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h index 380bae209b..0f30dccb53 100644 --- a/include/qemu/thread-posix.h +++ b/include/qemu/thread-posix.h @@ -12,7 +12,7 @@ struct QemuCond { }; struct QemuSemaphore { -#if defined(__OpenBSD__) || defined(__APPLE__) || defined(__NetBSD__) +#if defined(__APPLE__) || defined(__NetBSD__) pthread_mutex_t lock; pthread_cond_t cond; int count; |