Bugzilla bug #88102: checked in a patch from Colin Blakes NSPRPUB_PRE_4_2_CLIENT_BASE
authorwtc%netscape.com
Wed, 15 Aug 2001 14:30:43 +0000
changeset 2016 8e47a5d8f3f35f33f951a82ac610cf81cc6e3243
parent 2015 ecfa0acd93666e43916694373dedf72e3178995d
child 2017 ef84605b1ef13436acc6ba0830614b4e32db0f8b
child 2018 abe15df6dedb19e8182739bcd71dc269d1a405e2
child 2037 5324de775c78716a51755d09e2dfe515d696dbb8
child 2038 70786253a5bbe1f26e5f5cc521f14e32292f599c
child 2061 75d60a3182cea1e48800a64ec8d7ea6a062cec00
child 2068 279409a0edad55d813648465ae6fdefb6e1e8cb3
child 2074 92e3718e342b88705f841a64bfbbfb5162a031de
child 2075 c27b6bc4f17b0984652760da086c1028d9215cb3
child 2076 b5d50f4fa7458535665458321b64cb19c1d04e3d
child 2077 4780978e1aeb600abbf65b5758d5cbf94de0e5cf
child 2097 7579eae471f556907d5a7befc24adc7caf78f899
child 2116 4502f93348bd6f508fcaf3150ce17957bc2f9abc
child 2121 a4075d4175a4586459d72b7561df536c5ba7f666
push idunknown
push userunknown
push dateunknown
bugs88102
Bugzilla bug #88102: checked in a patch from Colin Blakes <colin@theblakes.com> that allows him to easily switch between BSD V4.4 (the default) and BSD V4.3 sockets on OpenVMS.
pr/include/md/_openvms.h
--- a/pr/include/md/_openvms.h
+++ b/pr/include/md/_openvms.h
@@ -94,17 +94,19 @@ struct ip_mreq {
 #define USE_DLFCN
 
 #define _PR_POLL_AVAILABLE
 #define _PR_USE_POLL
 #define _PR_STAT_HAS_ONLY_ST_ATIME
 #define _PR_NO_LARGE_FILES
 
 /* IPv6 support */
+#ifdef _SOCKADDR_LEN
 #define _PR_HAVE_SOCKADDR_LEN
+#endif
 #define _PR_HAVE_GETIPNODEBYNAME
 #define _PR_HAVE_GETIPNODEBYADDR
 #define _PR_INET6_PROBE
 #ifndef _PR_INET6
 #define AF_INET6 26
 #define AI_V4MAPPED 0x00000010
 #define AI_ALL      0x00000008
 #define AI_ADDRCONFIG 0x00000020