explicit JIT_ENABLED macro independent from JIT_START

This commit is contained in:
dzaima 2022-08-26 10:16:45 +03:00
parent b16378bef6
commit 484158318a

View File

@ -3,7 +3,7 @@
#include <sys/mman.h>
#endif
#if (defined(__x86_64) || defined(__amd64__)) && (__APPLE__ || __MACH__ || __linux__ || __FreeBSD__ || __unix || __unix__) && defined(MAP_32BIT) && MM!=0
#if defined(JIT_ENABLED)? JIT_ENABLED : ((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
@ -11,6 +11,7 @@
#undef JIT_START
#define JIT_START -1
#endif
#ifndef EXT_ONLY_GLOBAL
#define EXT_ONLY_GLOBAL 1
#endif