check for System V calling convention OSes for JIT

This commit is contained in:
dzaima 2022-04-29 23:17:55 +03:00
parent e979faea0e
commit f8408f0ca6

View File

@ -2,7 +2,7 @@
#include <sys/mman.h>
#if (defined(__x86_64) || defined(__amd64__)) && defined(MAP_32BIT) && MM!=0
#if (defined(__x86_64) || defined(__amd64__)) && (__APPLE__ || __MACH__ || __linux__ || __FreeBSD__ || __unix || __unix__) && defined(MAP_32BIT) && MM!=0
#ifndef JIT_START
#define JIT_START 2 // number of calls for when to start JITting. -1: never JIT; 0: JIT everything, n: JIT after n non-JIT invocations; max ¯1+2⋆16
#endif