Merge pull request #5519 from jonchang/fix-prefer-64-bit
compat: correct MacOS.prefer_64_bit? deprecation
This commit is contained in:
commit
241ee989bb
@ -1,8 +1,7 @@
|
||||
module OS
|
||||
module Mac
|
||||
class << self
|
||||
module Compat
|
||||
module_function
|
||||
|
||||
def prefer_64_bit?
|
||||
odeprecated("MacOS.prefer_64_bit?")
|
||||
Hardware::CPU.is_64_bit?
|
||||
@ -12,3 +11,4 @@ module OS
|
||||
prepend Compat
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user