diff options
Diffstat (limited to 'src/common/mac/macho_walker.cc')
-rw-r--r-- | src/common/mac/macho_walker.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/mac/macho_walker.cc b/src/common/mac/macho_walker.cc index dd2c3b39..4bc2ebba 100644 --- a/src/common/mac/macho_walker.cc +++ b/src/common/mac/macho_walker.cc @@ -71,7 +71,9 @@ int MachoWalker::ValidateCPUType(int cpu_type) { #if __ppc__ cpu_type = CPU_TYPE_POWERPC; #elif __i386__ - cpu_type = CPU_TYPE_X86; + cpu_type = CPU_TYPE_X86; +#elif __x86_64__ + cpu_type = CPU_TYPE_X86_64; #else #error Unknown architecture -- are you on a PDP-11? #endif |