1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 for

VC++6.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2009-02-02 03:48:31 +00:00
parent a98cbcbf0b
commit bf23d53b94
3 changed files with 9 additions and 2 deletions

View file

@ -21,8 +21,10 @@ optname_to_sym(int level, int optname)
return constant_to_sym(optname, intern_so_optname);
case IPPROTO_IP:
return constant_to_sym(optname, intern_ip_optname);
#ifdef IPV6
case IPPROTO_IPV6:
return constant_to_sym(optname, intern_ipv6_optname);
#endif
case IPPROTO_TCP:
return constant_to_sym(optname, intern_tcp_optname);
case IPPROTO_UDP: