commit | 7ece096767d329d0ea04b70a1fb2c8b8a96b47e0 | [log] [tgz] |
---|---|---|
author | David Carlier <devnexen@gmail.com> | Tue Dec 08 21:43:09 2015 +0000 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 09 10:38:29 2015 +0100 |
tree | eae72a97fc3c1df4f27bee444d409cf32d9dcc2b | |
parent | eb5a36392814376a7ecd25980a5e7dd797e8bb28 [diff] |
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.