diff options
| author | Adam Vandenberg | 2010-04-22 11:15:03 -0700 | 
|---|---|---|
| committer | Adam Vandenberg | 2010-04-22 17:23:59 -0700 | 
| commit | ee8c805b65e41356f76c0aa40d0a464c587cca04 (patch) | |
| tree | 8b8a932e08438a780a81207572e10d7dece24a1b /Library/Homebrew/hardware.rb | |
| parent | 0d3e1d1fa3ae19ddebc07130c9fde650e97f8a01 (diff) | |
| download | homebrew-ee8c805b65e41356f76c0aa40d0a464c587cca04.tar.bz2 | |
Fix universal builds on 32-bit CPUs.
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 | 
