HomeFreeBSD

MFC r355568:

Description

MFC r355568:

Correctly check for C++17 and higher when declaring timespec_get()

Summary:
In rS338751, the check to declare timespec_get() for C++17 and higher
was incorrectly done against a cplusplus define, while it should have
been __cplusplus.

Fix this by using __cplusplus, and also bump __FreeBSD_version so it
becomes possible to correctly check for timespec_get() in upstream
libc++ headers.

Reviewed by: brooks, emaste
Differential Revision: https://reviews.freebsd.org/D22735

Details

Provenance
dimAuthored on
Reviewer
brooks
Differential Revision
D22735: Correctly check for C++17 and higher when declaring timespec_get()
Parents
rS355657: rtld: do not try to mmap a zero-sized PT_LOAD
Branches
Unknown
Tags
Unknown