diff options
Diffstat (limited to 'Library/Homebrew/hardware.rb')
| -rw-r--r-- | Library/Homebrew/hardware.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index 549e02543..b10b2770c 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -46,6 +46,10 @@ class Hardware end end + def self.is_32_bit? + not self.is_64_bit? + end + def self.is_64_bit? self.sysctl_bool("hw.cpu64bit_capable") end |
