summaryrefslogtreecommitdiffstats
path: root/ext/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 11:55:05 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-01 11:55:05 +0000
commit7bdfb356529a9c0179aba8790d30335fef483503 (patch)
tree62ea775cb9327c521881ed9152ee9fb03e558914 /ext/socket
parentb8a34654056a27ebe3dff8319c367c15e6832f41 (diff)
downloadruby-7bdfb356529a9c0179aba8790d30335fef483503.tar.gz
ruby-7bdfb356529a9c0179aba8790d30335fef483503.tar.xz
ruby-7bdfb356529a9c0179aba8790d30335fef483503.zip
* ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/mkconstants.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb
index 3b3492b5c..ddfbf7d64 100644
--- a/ext/socket/mkconstants.rb
+++ b/ext/socket/mkconstants.rb
@@ -94,7 +94,8 @@ ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_name_to_int(str_var, len_var,
EOS
MAYBE_ALIAS = [
- ["AF_UNIX", "AF_LOCAL"]
+ ["AF_UNIX", "AF_LOCAL"],
+ ["AF_ISO", "AF_OSI"]
]
def each_alias(pat)