X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fpoll.h;h=99b608cce77cdca5595abd0afe2948eb9eae399f;hp=46200ac3e313effea9c198ef0dd061008341133e;hb=3247be18440ddc45bbc45f0cf9cdbc5691aae08e;hpb=4443d2b1356a787069fb75a5598f5fda660d37dd 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