Re: [chrony-dev] [PATCH] macOS - weak linkage of clock_gettime

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]



> On 16/03/2020, at 11:10 PM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> 
> On Fri, Mar 13, 2020 at 08:33:00AM +1300, Bryan Christianson wrote:
>> Earlier versions of macOS do not provide clock_gettime(). This patch checks for clock_gettime() at run-time and falls back to gettimeofday() if the symbol is not present.
> 
> The patch looks good to me. I think I'll change the commit subject to
> "don't require clock_gettime()" to make it more obvious what's going
> on.

Thanks Miroslav


Bryan Christianson
bryan@xxxxxxxxxxxxx




--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/