diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-26 11:54:18 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-26 11:54:18 +0000 |
commit | 2316cd4d0c903d6ee54fff09ffe6c4feef6582ce (patch) | |
tree | 94eb32505812af8399d723b056d722c9c39b817a | |
parent | 9694fa95179125fd410a8f8081d866ba660369b7 (diff) | |
download | ruby-2316cd4d0c903d6ee54fff09ffe6c4feef6582ce.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/socket/mkconstants.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Dec 26 20:52:21 2010 Tanaka Akira <akr@fsij.org> + + * 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 <akr@fsij.org> * 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 |