Re: [chrony-dev] clock_gettime() on macOS

2016-08-22 Thread Bryan Christianson
> On 22/08/2016, at 8:14 PM, Miroslav Lichvar wrote: > > On Mon, Aug 22, 2016 at 10:49:30AM +1200, Bryan Christianson wrote: >> We need to make sure that chrony compiled on macOS 10.12 (or later) will >> still run on versions earlier than macOS 10.12 > > Hm, is that a common practice on macOS

Re: [chrony-dev] clock_gettime() on macOS

2016-08-22 Thread Miroslav Lichvar
On Mon, Aug 22, 2016 at 10:49:30AM +1200, Bryan Christianson wrote: > We need to make sure that chrony compiled on macOS 10.12 (or later) will > still run on versions earlier than macOS 10.12 Hm, is that a common practice on macOS to run binaries compiled on newer version of the system? For insta

[chrony-dev] clock_gettime() on macOS

2016-08-21 Thread Bryan Christianson
We need to make sure that chrony compiled on macOS 10.12 (or later) will still run on versions earlier than macOS 10.12 This patch allows that but I’m not sure it’s structured correctly for chrony and I don’t like the duplication of the gettimeofday() fallback. Another option would be to modify