From 2316cd4d0c903d6ee54fff09ffe6c4feef6582ce Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 26 Dec 2010 11:54:18 +0000 Subject: [PATCH] * ext/socket/mkconstants.rb: define INET_ADDRSTRLEN as 16 if not available. fix compilation error on mswin32-60. reported by nobu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/socket/mkconstants.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1ff0262de7..7245d49220 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Dec 26 20:52:21 2010 Tanaka Akira + + * ext/socket/mkconstants.rb: define INET_ADDRSTRLEN as 16 if not + available. fix compilation error on mswin32-60. reported by nobu. + Sun Dec 26 19:37:37 2010 Tanaka Akira * ext/socket/option.c: define IFNAMSIZ if not available. diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index fe00f30e3d..9153587cd7 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -677,7 +677,7 @@ IPV6_RECVPATHMTU IPV6_TCLASS IPV6_USE_MIN_MTU -INET_ADDRSTRLEN +INET_ADDRSTRLEN 16 INET6_ADDRSTRLEN IFNAMSIZ