aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_arch.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index cd1a0568..d561917b 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -296,9 +296,7 @@
296#define LJ_ARCH_PPC32ON64 1 296#define LJ_ARCH_PPC32ON64 1
297#define LJ_ARCH_NOFFI 1 297#define LJ_ARCH_NOFFI 1
298#elif LJ_ARCH_BITS == 64 298#elif LJ_ARCH_BITS == 64
299#define LJ_ARCH_PPC64 1 299#error "No support for PPC64"
300#define LJ_TARGET_GC64 1
301#define LJ_ARCH_NOJIT 1 /* NYI */
302#endif 300#endif
303 301
304#if _ARCH_PWR7 302#if _ARCH_PWR7
@@ -465,7 +463,7 @@
465#error "No support for ILP32 model on ARM64" 463#error "No support for ILP32 model on ARM64"
466#endif 464#endif
467#elif LJ_TARGET_PPC 465#elif LJ_TARGET_PPC
468#if !LJ_ARCH_PPC64 && (defined(_LITTLE_ENDIAN) && (!defined(_BYTE_ORDER) || (_BYTE_ORDER == _LITTLE_ENDIAN))) 466#if defined(_LITTLE_ENDIAN) && (!defined(_BYTE_ORDER) || (_BYTE_ORDER == _LITTLE_ENDIAN))
469#error "No support for little-endian PPC32" 467#error "No support for little-endian PPC32"
470#endif 468#endif
471#if defined(__NO_FPRS__) && !defined(_SOFT_FLOAT) 469#if defined(__NO_FPRS__) && !defined(_SOFT_FLOAT)