mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 02:52:46 +02:00
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.
This commit is contained in:
@@ -17,6 +17,13 @@
|
||||
#define POLLRDHUP 0
|
||||
#endif
|
||||
|
||||
#ifndef MSG_NOSIGNAL
|
||||
#define MSG_NOSIGNAL 0
|
||||
#endif
|
||||
#ifndef MSG_MORE
|
||||
#define MSG_MORE 0
|
||||
#endif
|
||||
|
||||
int verbose = 0;
|
||||
int cmd = 0;
|
||||
int cmdstep = 0;
|
||||
|
||||
Reference in New Issue
Block a user