diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2023-02-26 16:22:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 16:22:20 (GMT) |
commit | 80dfdce2821faab75acb3e45c808c1444129eccb (patch) | |
tree | 1b855489cdfdb82667112fcb75d9006affc543ba | |
parent | ecf92d0897587c0f641df9db83c910fd236cb18a (diff) | |
parent | 1a3f35c51dec726de6487c9ee90f7d94abe19b81 (diff) | |
download | lz4-80dfdce2821faab75acb3e45c808c1444129eccb.zip lz4-80dfdce2821faab75acb3e45c808c1444129eccb.tar.gz lz4-80dfdce2821faab75acb3e45c808c1444129eccb.tar.bz2 |
Merge pull request #1209 from zhaixiaojuan/dev
Add 64-bit detection for LoongArch
-rw-r--r-- | programs/platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/programs/platform.h b/programs/platform.h index 43a171b..38940c3 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -48,6 +48,7 @@ extern "C" { || defined __x86_64__s || defined _M_X64 /* x86 64-bit */ \ || defined __arm64__ || defined __aarch64__ || defined __ARM64_ARCH_8__ /* ARM 64-bit */ \ || (defined __mips && (__mips == 64 || __mips == 4 || __mips == 3)) /* MIPS 64-bit */ \ + || defined __loongarch64 /* LoongArch 64-bit */ \ || defined _LP64 || defined __LP64__ /* NetBSD, OpenBSD */ || defined __64BIT__ /* AIX */ || defined _ADDR64 /* Cray */ \ || (defined __SIZEOF_POINTER__ && __SIZEOF_POINTER__ == 8) /* gcc */ # if !defined(__64BIT__) |