Skip to content

build: do not error out if clock_gettime is not found on darwin

Janne Grunau requested to merge janne/dav1d:clock_gettime into master

Also prefer clock_gettime over mach_absolute_time on darwin. clock_gettime is only available in darwin 10.12 and later.

Hopefully fixes #283 (closed).

I prefer this over !853 (closed) since clock_gettime is less awkward to use and should be available on modern darwin releases.

Edited by Henrik Gramner

Merge request reports

Loading