aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 4b2bbe76..205f51a6 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -183,6 +183,13 @@
183#define LJ_HASJIT 1 183#define LJ_HASJIT 1
184#endif 184#endif
185 185
186/* Disable or enable the FFI extension. */
187#if defined(LUAJIT_DISABLE_FFI) || defined(LJ_ARCH_NOFFI)
188#define LJ_HASFFI 0
189#else
190#define LJ_HASFFI 1
191#endif
192
186#if LJ_ARCH_ENDIAN == LUAJIT_BE 193#if LJ_ARCH_ENDIAN == LUAJIT_BE
187#define LJ_LE 0 194#define LJ_LE 0
188#define LJ_BE 1 195#define LJ_BE 1