]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads: Fix build when we're not compiling with threads.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 24 Jan 2018 14:41:04 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jan 2018 20:41:29 +0000 (21:41 +0100)
commit0048dd04c9a6e9b9c7def8e7060793290e0c36ff
tree66750d3e9460818a901086ef27008079363cb9be
parent46ec48bc1ad81cdf10aacfd5d7b2911c0ef2b0df
MINOR: threads: Fix build when we're not compiling with threads.

Only declare the start_lock if threads are compiled in, otherwise
HA_SPINLOCK_T won't be defined.
This should be backported to 1.8 when/if
1605c7ae6154d8c2cfcf3b325872b1a7266c5bc2 is backported.
src/haproxy.c