diff options
author | Mike Pall <mike> | 2012-06-22 11:36:58 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-06-22 11:36:58 +0200 |
commit | 2f844fc87ba0a26b3443b6a59d85a6080582c9b7 (patch) | |
tree | c221cf1f647ce683726f538caced0d33549cd6c3 /src/lj_arch.h | |
parent | 8b71ab108053c12bc2de9c1de0f786387a2b75e5 (diff) | |
download | luajit-2f844fc87ba0a26b3443b6a59d85a6080582c9b7.tar.gz luajit-2f844fc87ba0a26b3443b6a59d85a6080582c9b7.tar.bz2 luajit-2f844fc87ba0a26b3443b6a59d85a6080582c9b7.zip |
Fix build issues on Cygwin and MinGW with optional MSys.
Diffstat (limited to '')
-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 c9e9b307..a3d51542 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
@@ -122,7 +122,11 @@ | |||
122 | #define LJ_ARCH_BITS 32 | 122 | #define LJ_ARCH_BITS 32 |
123 | #define LJ_ARCH_ENDIAN LUAJIT_LE | 123 | #define LJ_ARCH_ENDIAN LUAJIT_LE |
124 | #define LJ_ARCH_HASFPU 1 | 124 | #define LJ_ARCH_HASFPU 1 |
125 | #define LJ_ABI_WIN LJ_TARGET_WINDOWS | 125 | #if LJ_TARGET_WINDOWS || __CYGWIN__ |
126 | #define LJ_ABI_WIN 1 | ||
127 | #else | ||
128 | #define LJ_ABI_WIN 0 | ||
129 | #endif | ||
126 | #define LJ_TARGET_X86 1 | 130 | #define LJ_TARGET_X86 1 |
127 | #define LJ_TARGET_X86ORX64 1 | 131 | #define LJ_TARGET_X86ORX64 1 |
128 | #define LJ_TARGET_EHRETREG 0 | 132 | #define LJ_TARGET_EHRETREG 0 |