Re: [ovs-dev] [PATCH] timeval: Check for OS-provided clock_gettime on macOS

2017-10-30 Thread Ben Pfaff
On Sat, Oct 28, 2017 at 04:38:30PM +0100, Richard Oliver wrote: > [Problem] > Compilation error on newer versions of macOS (Sierra onwards) due to > multiple declarations of clock_gettime. > > [Solution] > Have configure check for clock_gettime and check this result in > timeval to avoid

[ovs-dev] [PATCH] timeval: Check for OS-provided clock_gettime on macOS

2017-10-28 Thread Richard Oliver
[Problem] Compilation error on newer versions of macOS (Sierra onwards) due to multiple declarations of clock_gettime. [Solution] Have configure check for clock_gettime and check this result in timeval to avoid incorrectly declaring/defining clock_gettime again. [Testing] Source code now