]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: cpuset: fix build issue on macos introduced by previous change
authorDavid CARLIER <devnexen@gmail.com>
Sat, 8 Jan 2022 09:59:38 +0000 (09:59 +0000)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Jan 2022 14:09:49 +0000 (15:09 +0100)
commitbb10dad5a8321ecc437ef637385ee3a0e7c09747
tree463a994c7c008c5924415a63422eaa1726a49c20
parent65eab587a2ce58f2c8b92d03568a33ee7dc45528
BUILD: cpuset: fix build issue on macos introduced by previous change

The build on macos was broken by recent commit df91cbd58 ("MINOR: cpuset:
switch to sched_setaffinity for FreeBSD 14 and above."), let's move the
variable declaration inside the ifdef.
src/haproxy.c