Skip to content

Commit

Permalink
Add support for s390 and s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubitz committed Mar 3, 2021
1 parent 3b81df3 commit 1d1ec96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/arch.h
Expand Up @@ -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__))
Expand All @@ -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
Expand Down

0 comments on commit 1d1ec96

Please sign in to comment.