mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 18:43:59 +02:00
* 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:
parent
e40c43a1bf
commit
7e2fa5adf4
2 changed files with 5 additions and 1 deletions
|
@ -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*)?")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue