Yo Achim! On Tue, 27 Aug 2019 19:42:30 +0200 Achim Gratz via devel <devel@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 g...@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
pgpLeBjrjtxK_.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel