diff options
author | Brad Smith <brad@comstyle.com> | 2012-12-28 01:38:11 -0500 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-12-28 16:11:52 +0000 |
commit | 927fa909d5d5cf8c07673cd16a6d3bdc81250bc0 (patch) | |
tree | 365f5555e4cdb549e363a69ee7c1153765dc882f /include | |
parent | 62054c06d4d1d0d54ef87c2d9154efec00ad170c (diff) |
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')
-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; |