aboutsummaryrefslogtreecommitdiff
path: root/source/Host
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2019-10-02 19:20:24 +0000
committerDavide Italiano <davide@freebsd.org>2019-10-02 19:20:24 +0000
commitadb85e91313e1c409cdee08805b6d7c1140e1530 (patch)
tree612085c16ae1c1e1c33b58d7614a1e88cecb5c35 /source/Host
parent218facd331dbd879623a37b6a536f7efbc230027 (diff)
downloadlldb-adb85e91313e1c409cdee08805b6d7c1140e1530.tar.gz
[ARM64] XPC services are unsupported on device.
While around, clean up support for a 8 years old OS. <rdar://problem/55916729> git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@373510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Host')
-rw-r--r--source/Host/macosx/objcxx/Host.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Host/macosx/objcxx/Host.mm b/source/Host/macosx/objcxx/Host.mm
index 75d88eb4d..92aa4778f 100644
--- a/source/Host/macosx/objcxx/Host.mm
+++ b/source/Host/macosx/objcxx/Host.mm
@@ -10,8 +10,8 @@
#include <AvailabilityMacros.h>
-#if !defined(MAC_OS_X_VERSION_10_7) || \
- MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7
+// On device doesn't have supporty for XPC.
+#if defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__))
#define NO_XPC_SERVICES 1
#endif