Add std::timespec and std::timespec_get for C++17
authorJonathan Wakely <jwakely@redhat.com>
Thu, 14 Feb 2019 14:10:25 +0000 (14:10 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Feb 2019 14:10:25 +0000 (14:10 +0000)
commita61ae535c3e79a446d525fd7205049f407e0464c
treefc093c17dad61380775eff93003a6f62f3442861
parent1f4dcbf7cd8c60457ab9b156017db6e39293657b
Add std::timespec and std::timespec_get for C++17

* configure.ac: Check for C11 timespec_get function.
* crossconfig.m4 (freebsd, linux, gnu, cygwin, solaris, netbsd)
(openbsd): Likewise
* config.h.in: Regenerate.
* configure: Regenerate.
* include/c_global/ctime (timespec, timespec_get): Add to namespace
std for C++17 and up.

From-SVN: r268879
libstdc++-v3/ChangeLog
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/crossconfig.m4
libstdc++-v3/include/c_global/ctime