From e2c31e461459a5ba838ec5b00728c3cb2ec66af8 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 8 Mar 2005 04:41:51 +0000 Subject: * 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 --- ChangeLog | 5 +++++ ext/socket/mkconstants.rb | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 095330851a..ac308d8e64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 8 13:39:25 2005 NAKAMURA Usaku + + * ext/socket/mkconstants.rb: workaround for some of 4.4BSD-Lite + derived OSs. + Tue Mar 8 10:48:53 2005 NAKAMURA Usaku * eval.c (rb_exec_recursive): declaration should precede statements 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+/) -- cgit v1.2.3