From: Mathieu Desnoyers Date: Thu, 24 May 2012 16:01:47 +0000 (-0400) Subject: poll compat wrapper: add cygwin support X-Git-Tag: v2.1.0-rc1~133 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3247be18440ddc45bbc45f0cf9cdbc5691aae08e;p=lttng-tools.git poll compat wrapper: add cygwin support Signed-off-by: Mathieu Desnoyers --- 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