]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD/MINOR: cpuset fix build for FreeBSD 13.1
authorDavid CARLIER <devnexen@gmail.com>
Wed, 18 May 2022 14:45:40 +0000 (15:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 May 2022 21:06:03 +0000 (23:06 +0200)
the cpuset api changes done fir the future 14 release had been
backported to the 13.1 release so changing the cpuset api of choice
condition change accordingly.

include/haproxy/cpuset-t.h

index b770b17912efb72211c64a8d9aff4b98532c5de2..b619cc1f51f9ebae6ef1e97dc1702d7fb102ddcd 100644 (file)
@@ -26,7 +26,7 @@
 
 # define CPUSET_REPR cpuset_t
 
-# if defined(__FreeBSD__) && __FreeBSD_version >= 1400046
+# if defined(__FreeBSD__) && __FreeBSD_version >= 1301000
 #  define CPUSET_USE_CPUSET
 # else
 #  define CPUSET_USE_FREEBSD_CPUSET