mirror of
https://github.com/janet-lang/janet
synced 2024-11-20 07:34:49 +00:00
Make sure JANET_NO_NANBOX is defined for ARM targets
This commit is contained in:
parent
0601d851d0
commit
ba2beffcd8
@ -225,6 +225,11 @@ extern "C" {
|
||||
* To turn of nanboxing, for debugging purposes or for certain
|
||||
* architectures (Nanboxing only tested on x86 and x64), comment out
|
||||
* the JANET_NANBOX define.*/
|
||||
|
||||
#if defined(_M_ARM64) || defined(_M_ARM) || defined(__aarch64__)
|
||||
#define JANET_NO_NANBOX
|
||||
#endif
|
||||
|
||||
#ifndef JANET_NO_NANBOX
|
||||
#ifdef JANET_32
|
||||
#define JANET_NANBOX_32
|
||||
|
Loading…
Reference in New Issue
Block a user