harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r966935 - /harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/include/unix/hysock.h
Date Fri, 23 Jul 2010 02:02:31 GMT
Author: regisxu
Date: Fri Jul 23 02:02:30 2010
New Revision: 966935

URL: http://svn.apache.org/viewvc?rev=966935&view=rev
Log:
Apply patch for HARMONY-6596: [classlib][portlib] Compile of portlib/src/main/native/port/unix/hysock.c
on z/OS fails with undeclared identifier IPV6_ADD_MEMBERSHIP

Modified:
    harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/include/unix/hysock.h

Modified: harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/include/unix/hysock.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/include/unix/hysock.h?rev=966935&r1=966934&r2=966935&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/include/unix/hysock.h
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/portlib/src/main/native/include/unix/hysock.h
Fri Jul 23 02:02:30 2010
@@ -127,7 +127,7 @@ typedef struct ip_mreq OSIPMREQ;
 #define OS_MCAST_LOOP IP_MULTICAST_LOOP
 #if defined(IPv6_FUNCTION_SUPPORT)
 #define OS_MCAST_INTERFACE_2 IPV6_MULTICAST_IF
-#if defined(FREEBSD) || defined(MACOSX)
+#if defined(FREEBSD) || defined(MACOSX) || defined(ZOS)
 #define OS_IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
 #define OS_IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
 #else



Mime
View raw message