summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-26 11:54:18 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-26 11:54:18 +0000
commit2316cd4d0c903d6ee54fff09ffe6c4feef6582ce (patch)
tree94eb32505812af8399d723b056d722c9c39b817a /ext/socket
parent9694fa95179125fd410a8f8081d866ba660369b7 (diff)
* 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
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/mkconstants.rb2
1 files changed, 1 insertions, 1 deletions
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