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=4b35a6b3dbbaf925b2cb95ab36bef3546334607a;hpb=d14d33bf091e72b23b1f90ea18a0a01bed098b76 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