Yo Achim! On Mon, 26 Aug 2019 21:00:18 +0200 Achim Gratz via devel <devel@ntpsec.org> wrote:
> Hal Murray via devel writes: > > waf turns on _GNU_SOURCE > > There's your bug. You can't do that if you want to stay portable, > thus you must find another feature test macro for whatever feature > you are looking for. _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. From glibc 2.10, you instead need _POSIX_C_SOURCE >= 200809L 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
pgp88fGd70hV3.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel