Re: [PATCHv2] BUILD: common: Add __ha_cas_dw fallback for single threaded builds

2019-05-10 Thread Илья Шипицин
osx build is broken https://travis-ci.com/haproxy/haproxy/jobs/199157750 seems to be related пт, 10 мая 2019 г. в 14:45, Chris Packham : > __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_

[PATCHv2] BUILD: common: Add __ha_cas_dw fallback for single threaded builds

2019-05-10 Thread Chris Packham
__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 --- Changes in v2: - cast to int * to avoid dereferencing void * include/co