ruby-changes:28137
From: nobu <ko1@a...>
Date: Tue, 9 Apr 2013 00:28:52 +0900 (JST)
Subject: [ruby-changes:28137] nobu:r40189 (trunk): constants.c: fix macro name
nobu 2013-04-09 00:28:43 +0900 (Tue, 09 Apr 2013) New Revision: 40189 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40189 Log: constants.c: fix macro name * ext/socket/constants.c (rsock_cmsg_type_arg): fix macro name. Modified files: trunk/ChangeLog trunk/ext/socket/constants.c Index: ChangeLog =================================================================== --- ChangeLog (revision 40188) +++ ChangeLog (revision 40189) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Apr 9 00:28:40 2013 Nobuyoshi Nakada <nobu@r...> + + * ext/socket/constants.c (rsock_cmsg_type_arg): fix macro name. + Mon Apr 8 23:57:21 2013 Nobuyoshi Nakada <nobu@r...> * object.c (id_for_setter): extract common code from const, class Index: ext/socket/constants.c =================================================================== --- ext/socket/constants.c (revision 40188) +++ ext/socket/constants.c (revision 40189) @@ -105,7 +105,7 @@ rsock_cmsg_type_arg(int family, int leve https://github.com/ruby/ruby/blob/trunk/ext/socket/constants.c#L105 return constant_arg(type, rsock_scm_optname_to_int, "unknown UNIX control message"); case IPPROTO_IP: return constant_arg(type, rsock_ip_optname_to_int, "unknown IP control message"); -#ifdef INET6 +#ifdef IPPROTO_IPV6 case IPPROTO_IPV6: return constant_arg(type, rsock_ipv6_optname_to_int, "unknown IPv6 control message"); #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/