зеркало из https://github.com/github/ruby.git
option.c: fix macro name
* ext/socket/option.c (optname_to_sym): fix macro name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
72524b6005
Коммит
99ad10df32
|
@ -1,4 +1,6 @@
|
|||
Tue Apr 9 00:28:40 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Tue Apr 9 02:40:53 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/socket/option.c (optname_to_sym): fix macro name.
|
||||
|
||||
* ext/socket/constants.c (rsock_cmsg_type_arg): fix macro name.
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ optname_to_sym(int level, int optname)
|
|||
return constant_to_sym(optname, rsock_intern_so_optname);
|
||||
case IPPROTO_IP:
|
||||
return constant_to_sym(optname, rsock_intern_ip_optname);
|
||||
#ifdef INET6
|
||||
#ifdef IPPROTO_IPV6
|
||||
case IPPROTO_IPV6:
|
||||
return constant_to_sym(optname, rsock_intern_ipv6_optname);
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче