diff options
| author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2006-03-11 22:25:18 +0000 |
|---|---|---|
| committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2006-03-11 22:25:18 +0000 |
| commit | 7951cc992432ccfd4131b34b621e1161a773eca8 (patch) | |
| tree | 5ded5fa66278fcee51bf842e893a98cb29eea5d3 | |
| parent | f2d4f3e5d175547532ad414e7f9bf991a2731634 (diff) | |
| download | libapr-7951cc992432ccfd4131b34b621e1161a773eca8.tar.gz | |
fix compile break on systems like AIX 4.3.3 which
have most multicast definitions but are missing
IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP
PR: 38922
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@385180 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | network_io/unix/multicast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_io/unix/multicast.c b/network_io/unix/multicast.c index 950cdf7a7..edbc22870 100644 --- a/network_io/unix/multicast.c +++ b/network_io/unix/multicast.c @@ -163,7 +163,7 @@ static apr_status_t do_mcast(int type, apr_socket_t *sock, rv = errno; } } -#if APR_HAVE_IPV6 +#if APR_HAVE_IPV6 && defined(IPV6_JOIN_GROUP) && defined(IPV6_LEAVE_GROUP) else if (sock_is_ipv6(sock)) { if (type == IP_ADD_MEMBERSHIP) { type = IPV6_JOIN_GROUP; |
