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 | e2c31e461459a5ba838ec5b00728c3cb2ec66af8 (patch) | |
tree | 3ac11dc21d92e2e76051383c534d3a48330d0088 /ext/socket | |
parent | 1c3769c67d0fdcf8532a33e3d58cca84c7a2fc1f (diff) | |
download | ruby-e2c31e461459a5ba838ec5b00728c3cb2ec66af8.tar.gz |
* ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite
derived OSs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/mkconstants.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 42f36ece69..5212739876 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+/) |