diff options
author | Charlie Savage <cfis@savagexi.com> | 2020-05-17 23:54:39 -0700 |
---|---|---|
committer | Charlie Savage <cfis@savagexi.com> | 2020-05-17 23:54:39 -0700 |
commit | 481adbcdfc816a94bde5c695a175807a00bc8ff2 (patch) | |
tree | 183b6b664e1a02281791ec879349cac1aa991429 /lib | |
parent | 33fb45a80e20fd9d9c39de3753abca9b4ef3abe7 (diff) | |
download | ffi-481adbcdfc816a94bde5c695a175807a00bc8ff2.tar.gz |
Ruby built with MSVC reports the x64 as the platform on Windows 10, 64-bit machines.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ffi/platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi/platform.rb b/lib/ffi/platform.rb index 3e0fc60..85e3b25 100644 --- a/lib/ffi/platform.rb +++ b/lib/ffi/platform.rb @@ -61,7 +61,7 @@ module FFI CPU = RbConfig::CONFIG['host_cpu'] ARCH = case CPU.downcase - when /amd64|x86_64/ + when /amd64|x86_64|x64/ "x86_64" when /i?86|x86|i86pc/ "i386" |