diff options
author | 2020-05-30 15:56:10 -0400 | |
---|---|---|
committer | 2020-05-30 15:56:10 -0400 | |
commit | 9f5ab3f23725d474cd55bf1479a157fb7bc39c63 (patch) | |
tree | c576cafb98e968bf986e65f1eb29cd31ae662d2b /3rdparty | |
parent | bc0c1b74c7544566ecb1eed285484d7acbf99046 (diff) |
Fix build even more (nw)
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/asmjit/src/asmjit/core/virtmem.cpp | 4 |
1 files 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 <TargetConditionals.h> - #if TARGET_OS_OSX + #if defined(TARGET_OS_OSX) #include <sys/utsname.h> #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; |