diff options
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r-- | src/lj_arch.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index d89d1169..9a6d4305 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
@@ -151,7 +151,11 @@ | |||
151 | #define LJ_ARCH_NAME "x64" | 151 | #define LJ_ARCH_NAME "x64" |
152 | #define LJ_ARCH_BITS 64 | 152 | #define LJ_ARCH_BITS 64 |
153 | #define LJ_ARCH_ENDIAN LUAJIT_LE | 153 | #define LJ_ARCH_ENDIAN LUAJIT_LE |
154 | #define LJ_ABI_WIN LJ_TARGET_WINDOWS | 154 | #if LJ_TARGET_WINDOWS || __CYGWIN__ |
155 | #define LJ_ABI_WIN 1 | ||
156 | #else | ||
157 | #define LJ_ABI_WIN 0 | ||
158 | #endif | ||
155 | #define LJ_TARGET_X64 1 | 159 | #define LJ_TARGET_X64 1 |
156 | #define LJ_TARGET_X86ORX64 1 | 160 | #define LJ_TARGET_X86ORX64 1 |
157 | #define LJ_TARGET_EHRETREG 0 | 161 | #define LJ_TARGET_EHRETREG 0 |