commit | 2a944ee16b4b6fa1d55b7eca8bb4d289baa75ba1 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Nov 07 10:42:54 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Nov 07 11:10:24 2017 +0100 |
tree | d2518a345515053c9c85f74e6cf3351f807bf3d6 | |
parent | 7d8e4af46acbfad03cd813d7349ffbb9262d5539 [diff] [blame] |
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix This remove any name conflicts, especially on Solaris.
diff --git a/src/buffer.c b/src/buffer.c index db2e053..b365888 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -75,7 +75,7 @@ if (global.tune.buf_limit) pool2_buffer->limit = global.tune.buf_limit; - SPIN_INIT(&buffer_wq_lock); + HA_SPIN_INIT(&buffer_wq_lock); buffer = pool_refill_alloc(pool2_buffer, pool2_buffer->minavail - 1); if (!buffer)