%m, #614

Matthew Selsky Matthew.Selsky at twosigma.com
Tue Aug 27 02:24:33 UTC 2019


On Mon, Aug 26, 2019 at 04:55:48PM -0700, Gary E. Miller via devel wrote:

> _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

glibc 2.10 was released 2009-05-17.  Do we still need to support it? Or can add a fatal waf error for glibc < 2.10 and then use the more modern symbols?


Thanks,
-Matt


More information about the devel mailing list