apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r385180 - /apr/apr/trunk/network_io/unix/multicast.c
Date Sat, 11 Mar 2006 22:25:20 GMT
Author: trawick
Date: Sat Mar 11 14:25:18 2006
New Revision: 385180

URL: http://svn.apache.org/viewcvs?rev=385180&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/trunk/network_io/unix/multicast.c

Modified: apr/apr/trunk/network_io/unix/multicast.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/network_io/unix/multicast.c?rev=385180&r1=385179&r2=385180&view=diff
==============================================================================
--- apr/apr/trunk/network_io/unix/multicast.c (original)
+++ apr/apr/trunk/network_io/unix/multicast.c Sat Mar 11 14:25:18 2006
@@ -163,7 +163,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;



Mime
View raw message