Fixes this by adding a new config macro _LIBCPP_HAS_TIMESPEC_GET (sigh)
There's also a drive-by fix in here about not importing aligned_alloc into namespace std before C++17.
Differential D50799
Fix for PR 38495: <ctime> no longer compiles on FreeBSD, due to lack of timespec_get() Authored by mclow.lists on Aug 15 2018, 12:56 PM.
Details
Diff Detail Event Timeline |