qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] macOS 10.12 Sierra, Xcode 8 & clock_gettime()


From: Paolo Bonzini
Subject: Re: [Qemu-devel] macOS 10.12 Sierra, Xcode 8 & clock_gettime()
Date: Tue, 25 Oct 2016 16:38:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


On 25/10/2016 16:37, Liviu Ionescu wrote:
>>> ... If you add the attribute to the test, configure will detect
>>> it or not depending on -mmacosx-version-min, at least in theory.
> aha. so your suggestion is to extend configure to add
> CONFIG_HAVE_CLOCK_GETTIME, add -mmacosx-version-min to be sure
> configure does **not** set CONFIG_HAVE_CLOCK_GETTIME, and then patch
> the source codes to conditionally refer to clock_gettime().
> 
> this is definitely a better approach than my workaround, but requires
> much more effort. I'll probably wait for such a solution, when
> available.

You'll have to wait for a long time, since I don't even have a computer
to test it on.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]