Skip to content

Commit 8182315

Browse files
committed
Let's keep futzing with bit detection until we get it right.
1 parent 33dc480 commit 8182315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sys/unix/sys/filesystem/functions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def self.linux64?
1616
ENV_JAVA['sun.arch.data.model'].to_i == 64
1717
else
1818
RbConfig::CONFIG['host_os'] =~ /linux/i &&
19-
(RbConfig::CONFIG['arch'] =~ /64/ || RbConfig::CONFIG['DEFS'] =~ /64/)
19+
RbConfig::SIZEOF['void*'] == 8
2020
end
2121
end
2222

0 commit comments

Comments
 (0)