Re: [chrony-dev] [PATCH] macOS - weak linkage of clock_gettime |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] macOS - weak linkage of clock_gettime
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 16 Mar 2020 11:10:25 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584353430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xPx6Zvzka3YyFmMjedSl+cmacG2NQFRCfcdIGnyHWYc=; b=a9XxoBhLBV4Ow7eNjsSeXaW6XRYRsAa8TBqow92BtFv1Ww5Nag9pcfvY3l1bN8NEBdTPST z0n0OVltQgwN4hwRdJikAj/Kgp0XzIFXmyibXqBwOMzXoDhGqoLoSm2o6sXqz5gbtEhzWz 7shYo45UbOs1pHsxB1lVqxUiOnLpoTc=
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 Lichvar
--
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.