We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33dc480 commit 8182315Copy full SHA for 8182315
lib/sys/unix/sys/filesystem/functions.rb
@@ -16,7 +16,7 @@ def self.linux64?
16
ENV_JAVA['sun.arch.data.model'].to_i == 64
17
else
18
RbConfig::CONFIG['host_os'] =~ /linux/i &&
19
- (RbConfig::CONFIG['arch'] =~ /64/ || RbConfig::CONFIG['DEFS'] =~ /64/)
+ RbConfig::SIZEOF['void*'] == 8
20
end
21
22
0 commit comments