mirror of
https://git.wownero.com/wownero/RandomWOW.git
synced 2025-01-03 13:48:54 +00:00
Fix apple-non-arm jit guard
This commit is contained in:
parent
f9ae3f2351
commit
c7973839fa
@ -36,8 +36,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <mach/vm_statistics.h>
|
#include <mach/vm_statistics.h>
|
||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
# ifdef TARGET_OS_OSX
|
# if TARGET_OS_OSX
|
||||||
|
# if TARGET_CPU_ARM64
|
||||||
# define USE_PTHREAD_JIT_WP 1
|
# define USE_PTHREAD_JIT_WP 1
|
||||||
|
# else
|
||||||
|
# undef USE_PTHREAD_JIT_WP
|
||||||
|
# endif
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user