From 99ad10df3238b2572c35be4a20e52c58ee334e5a Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 8 Apr 2013 17:40:58 +0000 Subject: 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 --- ext/socket/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/socket') diff --git a/ext/socket/option.c b/ext/socket/option.c index e3e59cf0c5..e8dadf4a56 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -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 -- cgit v1.2.3