[Mesa-dev] [PATCH] threads: fix MinGW build breakage
Nicolai Hähnle
nhaehnle at gmail.com
Fri Nov 10 15:42:33 UTC 2017
On 10.11.2017 14:00, Jon Turney wrote:
> On 09/11/2017 21:41, Nicolai Hähnle wrote:
>> Sorry for the mess.
>
> I'm going to suggest that the fallback declaration of timespec_get()
> also needs to be provided for POSIX systems which don't have it.
>
> Not noticed previously as it (or xtime_get()) doesn't seem to have had
> any users, prior to this series.
>
> Patch attached.
Do you have a system where this is actually needed? Currently
HAVE_TIMESPEC_GET is only defined in threads_win32.h, so some more
detection logic somewhere would be required if this actually turns out
to be an issue.
Cheers,
Nicolai
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list