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