summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ArchSpec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r--lldb/source/Core/ArchSpec.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index 132c5c1488a..b7fbf5f25a0 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -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;
OpenPOWER on IntegriCloud