]> git.kaiwu.me - haproxy.git/commit
BUILD: signals: FreeBSD has SI_LWP instead of SI_TKILL
authorWilly Tarreau <w@1wt.eu>
Thu, 23 May 2019 06:40:50 +0000 (08:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 May 2019 06:40:50 +0000 (08:40 +0200)
commitf4c1e56b5e2eb1b5ac3250a87adcb328516114c2
treebbb70eb9193a7c769e14a699740dc44f760a661b
parent02255b24df4406d84be418c10aa5b4f94e10d8a9
BUILD: signals: FreeBSD has SI_LWP instead of SI_TKILL

SI_TKILL is for Linux. We're again in the non-portable area. Both OSes
use macros to define these values so we can #ifdef them. Let's make
SI_TKILL defined based on SI_LWP when only the latter is defined.
include/common/compat.h