timespec_get used unconditionally / build fails when targeting macOS 10.14 or earlier
This regression was introduced in e3a8013d
This change unconditionally uses timespec_get(), but there are a few thing wrong with this usage:
-
mesa requires C99, but this was added in C11. Systems with compliant headers (eg: macOS) will hide C11 declarations when C99 mode is requested.
-
timespec_get() was added to macOS 10.15, so the build fails when targeting older versions of macOS.