harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r979548 - /harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp
Date Tue, 27 Jul 2010 06:16:49 GMT
Author: regisxu
Date: Tue Jul 27 06:16:48 2010
New Revision: 979548

URL: http://svn.apache.org/viewvc?rev=979548&view=rev
Log:
On z/OS, enable IPv6 need to define test macro _OPEN_SYS_SOCK_IPV6 to compile dt_socket correctly.

Modified:
    harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp

Modified: harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp?rev=979548&r1=979547&r2=979548&view=diff
==============================================================================
--- harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp
(original)
+++ harmony/enhanced/java/branches/java6/jdktools/modules/jpda/src/main/native/jdwp/common/transport/dt_socket/SocketTransport.cpp
Tue Jul 27 06:16:48 2010
@@ -27,6 +27,9 @@
 
 #if defined(ZOS)
 #define _XOPEN_SOURCE  500
+#if defined(IPv6_FUNCTION_SUPPORT)
+#define _OPEN_SYS_SOCK_IPV6
+#endif
 #include <unistd.h>
 #endif
 



Mime
View raw message