mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
should compare SIZEOF_VOIDP with SIZEOF_LONG_LONG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
59ffb8a846
commit
6ddd56a130
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module DL
|
|||
case SIZEOF_VOIDP
|
||||
when SIZEOF_LONG
|
||||
ary.pack(@template).unpack('l!*')
|
||||
when SIZEOF_LONG
|
||||
when SIZEOF_LONG_LONG
|
||||
ary.pack(@template).unpack('q*')
|
||||
else
|
||||
raise(RuntimeError, "sizeof(void*)?")
|
||||
|
|
Loading…
Reference in a new issue