From: Michael Jeanson Date: Wed, 3 Aug 2016 18:33:42 +0000 (-0400) Subject: Port: Add OSX support to poll compat X-Git-Tag: v2.9.0-rc1~65 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a97dd6ce0d6f658c50b7cca73724fd8e1d5a36a1;p=lttng-tools.git Port: Add OSX support to poll compat Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/compat/poll.h b/src/common/compat/poll.h index 34d0cffda..77c46a1d0 100644 --- a/src/common/compat/poll.h +++ b/src/common/compat/poll.h @@ -254,7 +254,7 @@ enum { #if __linux__ LPOLLMSG = POLLMSG, LPOLLRDHUP = POLLRDHUP, -#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__)) +#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__) || defined(__APPLE__)) LPOLLMSG = 0, LPOLLRDHUP = 0, #else