mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 17:04:35 +00:00
BUILD/MINOR: cpuset FreeBSD 14 build fix.
The 14th release started to introduce api compatibility layer with Linux for the cpuset part and doing so irrevocably change the CPU* macros as well.
This commit is contained in:
parent
acd546b07c
commit
f645047168
@ -24,7 +24,12 @@
|
||||
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
|
||||
# define CPUSET_REPR cpuset_t
|
||||
# define CPUSET_USE_FREEBSD_CPUSET
|
||||
|
||||
# if defined(__FreeBSD__) && __FreeBSD_version >= 1400046
|
||||
# define CPUSET_USE_CPUSET
|
||||
# else
|
||||
# define CPUSET_USE_FREEBSD_CPUSET
|
||||
# endif
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user