[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC for-1.4] qemu-thread-posix: Fix build for Op
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH RFC for-1.4] qemu-thread-posix: Fix build for OpenBSD |
Date: |
Sat, 19 Jan 2013 10:13:15 +0000 |
On 18 January 2013 16:05, Paolo Bonzini <address@hidden> wrote:
> Il 18/01/2013 16:58, Andreas Färber ha scritto:
>> Avoid an undefined reference to sem_timedwait.
> This was reverted recently. Apparently your OpenBSD is too old compared
> to what Brad wants to support...
I suggest getting rid of all the os ifdefs and writing a configure
check for sem_timedwait(). Then we use the fallback code on
exactly the systems where we need to and we don't have to
start wondering about which versions of which BSDs introduced
the feature.
-- PMM