Hi David,

On Tue, Dec 08, 2015 at 09:59:54PM +0000, David CARLIER wrote:
> Subject: [PATCH] CLEANUP: haproxy: using _GNU_SOURCE instead of __USE_GNU 
> macro.
> 
> In order to properly enable sched_setaffinity, in some versions of Linux,
> it is rather _GNU_SOURCE than __USE_GNU (spotted on Alpine Linux for 
> instance),
> also for the sake of consistency as __USE_GNU seems not used across the code 
> and
> for last, it seems on Linux it is the best way to enable non portable code.
> On Linux glibc's based versions, it seems _GNU_SOURCE defines __USE_GNU
> it should be safe enough. 

I've just checked on my oldest machines and indeed it was already _GNU_SOURCE.
I didn't find a machine which fails with your patch, and since it matches the
man page, I've obviously merged it.

Did you find a situation where it's needed in order to build ? If so I can
backport it to older versions (back to 1.5).

thanks,
Willy


Reply via email to