[Apple Silicon] [In-process memory reader] Adjust low-bits computation for arm64 macOS

This commit is contained in:
Mishal Shah
2020-07-02 18:32:23 -07:00
parent a8aec14bce
commit 6336b14db4
6 changed files with 7 additions and 7 deletions

View File

@@ -147,7 +147,7 @@ static int PipeMemoryReader_queryDataLayout(void *Context,
#else
int applePlatform = 0;
#endif
#if defined(__APPLE__) && __APPLE__ && ((defined(TARGET_OS_IOS) && TARGET_OS_IOS) || (defined(TARGET_OS_IOS) && TARGET_OS_WATCH) || (defined(TARGET_OS_TV) && TARGET_OS_TV))
#if defined(__APPLE__) && __APPLE__ && ((defined(TARGET_OS_IOS) && TARGET_OS_IOS) || (defined(TARGET_OS_IOS) && TARGET_OS_WATCH) || (defined(TARGET_OS_TV) && TARGET_OS_TV) || defined(__arm64__))
int iosDerivedPlatform = 1;
#else
int iosDerivedPlatform = 0;