summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKWIML Upstream <kwrobot@kitware.com>2021-04-21 09:40:48 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-21 14:55:02 (GMT)
commit873dbc52e98b50e3e93176b6d3a99c922e4bab59 (patch)
treea37a911301c85b04a894b68f79c53fe4a2e5eece
parentbd202202ce52c400c34c5a0318422a06cd18823c (diff)
downloadCMake-873dbc52e98b50e3e93176b6d3a99c922e4bab59.zip
CMake-873dbc52e98b50e3e93176b6d3a99c922e4bab59.tar.gz
CMake-873dbc52e98b50e3e93176b6d3a99c922e4bab59.tar.bz2
KWIML 2021-04-21 (49d91529)
Code extracted from: https://gitlab.kitware.com/utils/kwiml.git at commit 49d9152941311c05d281b1f927368b1efbb33a01 (master). Upstream Shortlog ----------------- Xiaotian Wu (1): 49d91529 abi.h: Add LoongArch64 support
-rw-r--r--include/kwiml/abi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/kwiml/abi.h b/include/kwiml/abi.h
index 1112cb0..0437854 100644
--- a/include/kwiml/abi.h
+++ b/include/kwiml/abi.h
@@ -409,6 +409,10 @@ suppression macro KWIML_ABI_NO_VERIFY was defined.
#elif defined(__hppa) || defined(__hppa__)
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_BIG
+/* LoongArch64 */
+#elif defined(__loongarch64)
+# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
+
/* Motorola 68k */
#elif defined(__m68k__) || defined(M68000)
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_BIG