From b2e2002220d087f7064dc3da13ad456071e9fdb9 Mon Sep 17 00:00:00 2001 From: zhangjialing Date: Mon, 7 Jun 2021 15:35:47 +0800 Subject: [PATCH] add loongarch little endian --- src/hash/func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hash/func.c b/src/hash/func.c index 3943c94e..7d3b0cf4 100644 --- a/src/hash/func.c +++ b/src/hash/func.c @@ -144,7 +144,7 @@ uint32_t hash_joaat_pl_ci(const struct pl *pl) __BYTE_ORDER == __LITTLE_ENDIAN) || \ (defined(i386) || defined(__i386__) || defined(__i486__) || \ defined(__i586__) || defined(__i686__) || \ - defined(vax) || defined(MIPSEL)) + defined(vax) || defined(MIPSEL)) || defined(__loongarch__) # define HASH_LITTLE_ENDIAN 1 # define HASH_BIG_ENDIAN 0 #elif (defined(__BYTE_ORDER) && defined(__BIG_ENDIAN) && \