aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/hardware.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/hardware.rb')
-rw-r--r--Library/Homebrew/hardware.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb
index 3d76a74db..4c7924372 100644
--- a/Library/Homebrew/hardware.rb
+++ b/Library/Homebrew/hardware.rb
@@ -69,3 +69,7 @@ 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