Replace usage of ARCH_ARM with standard compiler macros.

PiperOrigin-RevId: 885453472
This commit is contained in:
Snappy Team
2026-03-18 08:46:09 +00:00
committed by Danila Kutenin
parent a1962a8d1c
commit 8fe84c01c0

View File

@@ -194,7 +194,7 @@ char* CompressFragment(const char* input,
// riscv and little-endian cpu choose this routinue can be done faster too.
#if !SNAPPY_IS_BIG_ENDIAN && \
(defined(__x86_64__) || defined(_M_X64) || defined(ARCH_PPC) || \
defined(ARCH_ARM) || defined(__riscv))
defined(__aarch64__) || defined(__riscv))
static inline std::pair<size_t, bool> FindMatchLength(const char* s1,
const char* s2,
const char* s2_limit,