aboutsummaryrefslogtreecommitdiffstats
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
parent9694fa95179125fd410a8f8081d866ba660369b7 (diff)
downloadruby-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--ChangeLog5
-rw-r--r--ext/socket/mkconstants.rb2
2 files changed, 6 insertions, 1 deletions
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 <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