HomeFreeBSD

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

Description

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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D22735

Details

Provenance
dimAuthored on Dec 9 2019, 7:17 PM
Parents
rGd8010b117509: Copy out aux args after the argument and environment vectors.
Branches
Unknown
Tags
Unknown

Event Timeline