diff options
| -rw-r--r-- | lldb/source/Host/macosx/HostInfoMacOSX.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/Host/macosx/HostInfoMacOSX.mm b/lldb/source/Host/macosx/HostInfoMacOSX.mm index 83d56a6793e..a1d6e477ca4 100644 --- a/lldb/source/Host/macosx/HostInfoMacOSX.mm +++ b/lldb/source/Host/macosx/HostInfoMacOSX.mm @@ -30,6 +30,16 @@ #include <mach-o/dyld.h> #include <objc/objc-auto.h> +// These are needed when compiling on systems +// that do not yet have these definitions +#include <AvailabilityMacros.h> +#ifndef CPU_SUBTYPE_X86_64_H +#define CPU_SUBTYPE_X86_64_H ((cpu_subtype_t)8) +#endif +#ifndef CPU_TYPE_ARM64 +#define CPU_TYPE_ARM64 (CPU_TYPE_ARM|CPU_ARCH_ABI64) +#endif + using namespace lldb_private; bool |

