commit | 0048dd04c9a6e9b9c7def8e7060793290e0c36ff | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Wed Jan 24 15:41:04 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Jan 24 21:41:29 2018 +0100 |
tree | 66750d3e9460818a901086ef27008079363cb9be | |
parent | 46ec48bc1ad81cdf10aacfd5d7b2911c0ef2b0df [diff] |
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.