You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2006/03/11 23:26:03 UTC
svn commit: r385181 - /apr/apr/branches/1.2.x/network_io/unix/multicast.c
Author: trawick
Date: Sat Mar 11 14:26:03 2006
New Revision: 385181
URL: http://svn.apache.org/viewcvs?rev=385181&view=rev
Log:
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
Modified:
apr/apr/branches/1.2.x/network_io/unix/multicast.c
Modified: apr/apr/branches/1.2.x/network_io/unix/multicast.c
URL: http://svn.apache.org/viewcvs/apr/apr/branches/1.2.x/network_io/unix/multicast.c?rev=385181&r1=385180&r2=385181&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/network_io/unix/multicast.c (original)
+++ apr/apr/branches/1.2.x/network_io/unix/multicast.c Sat Mar 11 14:26:03 2006
@@ -188,7 +188,7 @@
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;