Add missing include; fix missed constant to use llvm::MachO.

llvm-svn: 105810
This commit is contained in:
Eli Friedman 2010-06-11 04:26:08 +00:00
parent b6a5a0d9e1
commit 50fac2f7b5
1 changed files with 2 additions and 3 deletions

View File

@ -9,8 +9,7 @@
#include "lldb/Core/ArchSpec.h"
//#include <mach/mach.h>
//#include <mach-o/nlist.h>
#include <stdio.h>
#include <string>
@ -1610,7 +1609,7 @@ ArchSpec::GetAddressByteSize() const
break;
case eArchTypeMachO:
if (GetCPUType() & CPU_ARCH_ABI64)
if (GetCPUType() & llvm::MachO::CPUArchABI64)
return 8;
else
return 4;