aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/hardware.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-18 10:30:26 -0700
committerAdam Vandenberg2011-03-18 10:30:26 -0700
commitedeace562e45802525e5699ea73465380cb9e8c3 (patch)
tree41d82ed839796af55c31088c0d7cd84ce48f676c /Library/Homebrew/hardware.rb
parent4c64c9107b2f56e17d87d749bba3feedd5ec2800 (diff)
downloadhomebrew-edeace562e45802525e5699ea73465380cb9e8c3.tar.bz2
Add MacOS.prefer_64_bit?
Moved snow_leopard_64? to compatibility and replaced it with a function MacOS.prefer_64_bit?. This method is in a better place and has a better name once Lion comes out. Fixes #4710
Diffstat (limited to 'Library/Homebrew/hardware.rb')
-rw-r--r--Library/Homebrew/hardware.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb
index 4c7924372..3d76a74db 100644
--- a/Library/Homebrew/hardware.rb
+++ b/Library/Homebrew/hardware.rb
@@ -69,7 +69,3 @@ protected
$?.success? && result == 1 # sysctl call succeded and printed 1
end
end
-
-def snow_leopard_64?
- MACOS_VERSION >= 10.6 and Hardware.is_64_bit?
-end