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:
ttate 2005-11-08 13:50:38 +00:00
parent 59ffb8a846
commit 6ddd56a130
1 changed files with 1 additions and 1 deletions

View File

@ -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*)?")