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

* ext/socket/ancdata.c (cmsg_type_to_sym): add #ifdef for no IPv6

environment.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-02 08:12:10 +00:00
parent 21675bb6a7
commit 29bd89281b
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Feb 2 17:11:23 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/ancdata.c (cmsg_type_to_sym): add #ifdef for no IPv6
environment.
Mon Feb 2 17:05:55 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (rb_find_file_ext): should not be infected from other

View file

@ -22,8 +22,10 @@ cmsg_type_to_sym(int level, int cmsg_type)
return constant_to_sym(cmsg_type, intern_scm_optname);
case IPPROTO_IP:
return constant_to_sym(cmsg_type, intern_ip_optname);
#ifdef IPPROTO_IPV6
case IPPROTO_IPV6:
return constant_to_sym(cmsg_type, intern_ipv6_optname);
#endif
case IPPROTO_TCP:
return constant_to_sym(cmsg_type, intern_tcp_optname);
case IPPROTO_UDP: