From 6aa9beeb505859edc07ed05e108efac14b1313b2 Mon Sep 17 00:00:00 2001 From: "easyaspi314 (Devin)" Date: Sat, 14 Dec 2019 16:30:22 -0500 Subject: [PATCH] [s390x] Identify s390x in xxhsum --- xxhsum.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xxhsum.c b/xxhsum.c index 7050b32..95825d3 100644 --- a/xxhsum.c +++ b/xxhsum.c @@ -241,6 +241,10 @@ static unsigned BMK_isLittleEndian(void) # define ARCH "mips64" #elif defined(__mips) # define ARCH "mips" +#elif defined(__s390x__) +# define ARCH "s390x" +#elif defined(__s390__) +# define ARCH "s390" #else # define ARCH "unknown" #endif