On Tue, 18 Sep 2018, Brooks Davis wrote:
Log:
Fix C11 and POSIX 1003.1b-1993 compliance in time.h
Only expose timespec_get in C11, C++17, or BSD code. Always define
struct timespect if defining timespec_get.
PR:231425
Reviewed by: kib
Approved by: re (gjb)
Differential
Author: brooks
Date: Tue Sep 18 15:31:24 2018
New Revision: 338751
URL: https://svnweb.freebsd.org/changeset/base/338751
Log:
Fix C11 and POSIX 1003.1b-1993 compliance in time.h
Only expose timespec_get in C11, C++17, or BSD code. Always define
struct timespect if defining timespec_get.