From: Mathieu Desnoyers Date: Thu, 24 May 2012 16:01:47 +0000 (-0400) Subject: poll compat wrapper: add cygwin support X-Git-Url: http://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=abf3122bbe1aedb3e0b0155e56f07e90f4253f52 poll compat wrapper: add cygwin support commit 3247be18440ddc45bbc45f0cf9cdbc5691aae08e upstream. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index 46200ac3e..99b608cce 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -188,7 +188,7 @@ enum { #if __linux__ LPOLLMSG = POLLMSG, LPOLLRDHUP = POLLRDHUP, -#elif defined(__FreeBSD__) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__)) LPOLLMSG = 0, LPOLLRDHUP = 0, #else