Add support for s390 and s390x

This commit is contained in:
John Paul Adrian Glaubitz 2021-03-03 02:55:24 +01:00
parent 3b81df3f9e
commit 1d1ec9614f
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ typedef int bool_t;
#if !(defined(L_ENDIAN) || defined(B_ENDIAN))
#if defined(__sparc__) || \
defined(__s390__) || defined (__s390x__) || \
defined(__hppa__) || defined (__m68k__) || \
(defined(__PPC__) && defined(__BIG_ENDIAN__)) || \
(defined(__ppc__) && defined(__BIG_ENDIAN__))
@ -86,6 +87,7 @@ typedef int bool_t;
defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \
defined(__i386__) || defined(__aarch64__) || \
defined(__PPC__) || defined(__LITTLE_ENDIAN__) || \
defined(__s390__) || defined (__s390x__) || \
defined(__riscv)
#define NO_NEED_ALIGN
#else