Fix build issues on Cygwin and MinGW with optional MSys.

This commit is contained in:
Mike Pall
2012-06-22 11:36:58 +02:00
parent 8b71ab1080
commit 2f844fc87b
2 changed files with 28 additions and 14 deletions

View File

@@ -122,7 +122,11 @@
#define LJ_ARCH_BITS 32
#define LJ_ARCH_ENDIAN LUAJIT_LE
#define LJ_ARCH_HASFPU 1
#define LJ_ABI_WIN LJ_TARGET_WINDOWS
#if LJ_TARGET_WINDOWS || __CYGWIN__
#define LJ_ABI_WIN 1
#else
#define LJ_ABI_WIN 0
#endif
#define LJ_TARGET_X86 1
#define LJ_TARGET_X86ORX64 1
#define LJ_TARGET_EHRETREG 0