Port: Add OSX support to poll compat
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 3 Aug 2016 18:33:42 +0000 (14:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Aug 2016 19:39:14 +0000 (15:39 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/poll.h

index 34d0cffda479661b95fdba56b5e7cb5356b08e65..77c46a1d08d60ac8bca806628f368fc46fc915c2 100644 (file)
@@ -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
This page took 0.026164 seconds and 4 git commands to generate.