%m, #614
Gary E. Miller
gem at rellim.com
Tue Aug 27 18:51:25 UTC 2019
Yo Achim!
On Tue, 27 Aug 2019 19:42:30 +0200
Achim Gratz via devel <devel at ntpsec.org> wrote:
> Gary E. Miller via devel writes:
> > _GNU_SOURCE should not always be defined, but it does need to be
> > defined in certain cases. For example, on glibc < 2.10, you need
> > to define it to get strnlen() and struct ifreq.
>
> In that case, you need to be prepared for changed semantics in several
> places and I don't think ntpsec is set up to deal with that.
Changed semantics? No. Simple existence of the prototpe is at stake.
> > From glibc 2.10, you instead need _POSIX_C_SOURCE >= 200809L
>
> Well, if that's the ABI you are de-facto targeting, then make this the
> requirement.
It is one of the choices. NTPsec, and gpsd, try to be flexible to what
is available, not the other way around.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190827/601ad7aa/attachment.bin>
More information about the devel
mailing list