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.
Paths
| Differential D50799
Fix for PR 38495: <ctime> no longer compiles on FreeBSD, due to lack of timespec_get() ClosedPublic Authored by mclow.lists on Aug 15 2018, 12:56 PM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 15 2018, 2:00 PM
Revision Contents
Diff 160895 include/__config
include/cstdlib
include/ctime
test/std/language.support/support.runtime/ctime.pass.cpp
test/std/utilities/time/date.time/ctime.pass.cpp
test/support/test_macros.h
|