* ext/dl/lib/dl/pack.rb (DL#pack): allow LLP64.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
wanabe 2010-03-19 16:20:56 +00:00
parent e40c43a1bf
commit 7e2fa5adf4
2 changed files with 5 additions and 1 deletions

View file

@ -79,7 +79,7 @@ module DL
case SIZEOF_VOIDP
when SIZEOF_LONG
ary.pack(@template)
when SIZEOF_LONG
when SIZEOF_LONG_LONG
ary.pack(@template)
else
raise(RuntimeError, "sizeof(void*)?")