CONTRIB: debug: address "poll" utility build on non-linux platforms
authorWilly Tarreau <w@1wt.eu>
Mon, 21 Dec 2020 07:43:50 +0000 (08:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 21 Dec 2020 07:45:26 +0000 (08:45 +0100)
commit79d2e7bbbd56455f5f73c030df41e8e1ed621df4
tree563656032bb5a5795831c1e8abef66b38a67abf3
parent03ca6054d02350e83cb5227608ccec13efdd3ade
CONTRIB: debug: address "poll" utility build on non-linux platforms

MSG_NOSIGNAL and MSG_MORE are not defined everywhere, let's make them
zero when not defined. It will roughly result in the same behavior,
albeit a bit less optimal, which is no big deal when debugging. This
should fix issue #1014.
contrib/debug/poll.c