Fix build even more (nw)
This commit is contained in:
parent
bc0c1b74c7
commit
9f5ab3f237
4
3rdparty/asmjit/src/asmjit/core/virtmem.cpp
vendored
4
3rdparty/asmjit/src/asmjit/core/virtmem.cpp
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user