From 9f5ab3f23725d474cd55bf1479a157fb7bc39c63 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 30 May 2020 15:56:10 -0400 Subject: [PATCH] Fix build even more (nw) --- 3rdparty/asmjit/src/asmjit/core/virtmem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/asmjit/src/asmjit/core/virtmem.cpp b/3rdparty/asmjit/src/asmjit/core/virtmem.cpp index 97f7ceb5b2b..e373cf8d723 100644 --- a/3rdparty/asmjit/src/asmjit/core/virtmem.cpp +++ b/3rdparty/asmjit/src/asmjit/core/virtmem.cpp @@ -45,7 +45,7 @@ // Apple recently introduced MAP_JIT flag, which we want to use. #if defined(__APPLE__) #include - #if TARGET_OS_OSX + #if defined(TARGET_OS_OSX) #include #endif // Older SDK doesn't define `MAP_JIT`. @@ -316,7 +316,7 @@ static ASMJIT_INLINE bool VirtMem_isHardened() noexcept { // MAP_JIT flag required to run unsigned JIT code is only supported by kernel // version 10.14+ (Mojave) and IOS. static ASMJIT_INLINE bool VirtMem_hasMapJitSupport() noexcept { -#if TARGET_OS_OSX +#if defined(TARGET_OS_OSX) static volatile uint32_t globalVersion; uint32_t ver = globalVersion;