Port: Add OSX support to socket compat
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 3 Aug 2016 18:35:27 +0000 (14:35 -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/socket.h

index 78610957b806e4c0d3e61d316a4e49baf649142e..8a1cef157bb35d72c227e59a2e535addf5843486 100644 (file)
@@ -122,7 +122,7 @@ typedef struct ucred lttng_sock_cred;
 #define LTTNG_SOCK_GET_GID_CRED(c) LTTNG_REF(c)->gid
 #define LTTNG_SOCK_GET_PID_CRED(c) LTTNG_REF(c)->pid
 
-#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__))
+#elif (defined(__FreeBSD__) || defined(__CYGWIN__) || defined(__sun__) || defined(__APPLE__))
 
 struct lttng_sock_cred {
        uid_t uid;
This page took 0.026815 seconds and 5 git commands to generate.