util/u_thread: Check for pthread_getcpuclockid.
pthread_getcpuclockid is not available on macOS.
Fixes: 4913215d ("util/u_thread: don't restrict u_thread_get_time_nano() to linux") Signed-off-by: Vinson Lee vlee@freedesktop.org
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
pthread_getcpuclockid is not available on macOS.
Fixes: 4913215d ("util/u_thread: don't restrict u_thread_get_time_nano() to linux") Signed-off-by: Vinson Lee vlee@freedesktop.org