Re: svn commit: r338751 - head/include

2018-09-18 Thread Bruce Evans
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

svn commit: r338751 - head/include

2018-09-18 Thread Brooks Davis
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.