]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: threads: Add __ha_cas_dw fallback for single threaded builds
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 9 May 2019 05:07:40 +0000 (17:07 +1200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 May 2019 08:55:31 +0000 (10:55 +0200)
commitf4436e145bec624aca94a42cefc81bacaa5c94a5
tree6ee08794bacf255d1ebd8109a622d8662a79d994
parent35d20afe6fe5106716b97771c483395b9b51a04a
BUILD: threads: Add __ha_cas_dw fallback for single threaded builds

__ha_cas_dw() is used in fd_rm_from_fd_list() and when built without
USE_THREADS=1 the linker fails to find __ha_cas_dw(). Add a definition
of __ha_cas_dw() for the #ifndef USE_THREADS case.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
include/common/hathreads.h