diff options
author | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-19 16:20:56 +0000 |
---|---|---|
committer | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-19 16:20:56 +0000 |
commit | 7e2fa5adf46a3cfa9d6c8363e63ce1fc4d12031c (patch) | |
tree | 56587fabe1a413126633770709db3d8060da74be /ext/dl/lib/dl | |
parent | e40c43a1bf03782eeab068b66abc7c3af64f2cc5 (diff) | |
download | ruby-7e2fa5adf46a3cfa9d6c8363e63ce1fc4d12031c.tar.gz |
* 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
Diffstat (limited to 'ext/dl/lib/dl')
-rw-r--r-- | ext/dl/lib/dl/pack.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/pack.rb b/ext/dl/lib/dl/pack.rb index d760edaab5..7fbc802b0f 100644 --- a/ext/dl/lib/dl/pack.rb +++ b/ext/dl/lib/dl/pack.rb @@ -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*)?") |