[ntp:questions] NTP & PPS, part 2 ;)

Martin Burnicki martin.burnicki at meinberg.de
Fri Dec 12 12:40:33 UTC 2014


Harlan Stenn wrote:
> Martin Burnicki writes:
>> IMO the best approach would be to detect this at runtime.
>
> That means we'd need a header file...

It shouldn't be a problem to add this to the NTP code base.

> If I'm not mistaken (and it's getting late for me), if the header file
> is missing we don't expect the API.  If the header file is present we
> expect it to "do the right thing" and even then we check error returns
> from the API.

What I meant is to build ntpd with the header file present, and then 
check at runtime (ntpd startup) if the API is really present.

Martin



More information about the questions mailing list