From acbb2139775d65212615371568fd4c6f38072c8d Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 22 Jun 2020 21:56:39 -0400 Subject: [PATCH] mac/hardware: cpu: Use ruby-macho's Intel constant --- Library/Homebrew/extend/os/mac/hardware/cpu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb index fa8436d08d..da5c4c5345 100644 --- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb @@ -9,7 +9,7 @@ module Hardware # Look in for decoding info. def type case sysctl_int("hw.cputype") - when 7 + when MachO::Headers::CPU_TYPE_I386 :intel when MachO::Headers::CPU_TYPE_ARM64 :arm