util: Always use timespec_get on Windows.
authorJose Fonseca <jose.r.fonseca@gmail.com>
Wed, 24 Feb 2021 20:02:34 +0000 (20:02 +0000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Mar 2021 14:37:46 +0000 (14:37 +0000)
commit3ba7784b1e747830379f54e748bda6fda7b54ac9
treec74cce15138976a60bc391918dedfb80fa82531f
parent3a72044ece27f6a06d7819bcd6ba3fcc2f786d0c
util: Always use timespec_get on Windows.

include/c11/threads_win32.h provides a fallback implementation of
timespec_get when necessary.

Fixes https://gitlab.freedesktop.org/mesa/mesa/-/issues/4109

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9280>
src/util/u_queue.c