From 5c656f805c46b5a85a8a08c89122f548c4ef075b Mon Sep 17 00:00:00 2001 From: dsmith111 <davidcsmith12@gmail.com> Date: Tue, 30 Jul 2024 15:36:35 -0700 Subject: [PATCH] Add! _MSC_VER condition --- src/google/protobuf/parse_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/parse_context.h b/src/google/protobuf/parse_context.h index d40e71c1dc..abc33d9e8c 100644 --- a/src/google/protobuf/parse_context.h +++ b/src/google/protobuf/parse_context.h @@ -635,7 +635,7 @@ inline const char* VarintParseSlow(const char* p, uint32_t res, uint64_t* out) { return tmp.first; } -#ifdef __aarch64__ +#ifdef __aarch64__ && !defined(_MSC_VER) // Generally, speaking, the ARM-optimized Varint decode algorithm is to extract // and concatenate all potentially valid data bits, compute the actual length // of the Varint, and mask off the data bits which are not actually part of the