diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-08 04:41:51 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-08 04:41:51 +0000 |
commit | 82f1034a13aa07a8d042e33da9ba099ca292c309 (patch) | |
tree | 3ac11dc21d92e2e76051383c534d3a48330d0088 | |
parent | 39aac1f5271dde6c8bf70da58f8a5367a824d045 (diff) | |
download | ruby-82f1034a13aa07a8d042e33da9ba099ca292c309.tar.gz ruby-82f1034a13aa07a8d042e33da9ba099ca292c309.tar.xz ruby-82f1034a13aa07a8d042e33da9ba099ca292c309.zip |
* ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite
derived OSs.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/socket/mkconstants.rb | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Mar 8 13:39:25 2005 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite + derived OSs. + Tue Mar 8 10:48:53 2005 NAKAMURA Usaku <usa@ruby-lang.org> * eval.c (rb_exec_recursive): declaration should precede statements diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 42f36ece6..521273987 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -1,5 +1,8 @@ $out ||= $stdout +# workaround for NetBSD, OpenBSD and etc. +$out.puts("#define pseudo_AF_FTIP pseudo_AF_RTIP") + # skip empty lines and comment lines DATA.each_line do |s| name, value = s.scan(/\S+/) |