Fix compilation on ARM and ARM64 using MSVC.

This commit is contained in:
2021-10-13 00:41:58 +01:00
parent 6c10f3e58d
commit 8d77838be2
9 changed files with 84 additions and 14 deletions

View File

@@ -233,7 +233,7 @@ TEST_F(adler32Fixture, adler32_slicing_2352bytes)
EXPECT_EQ(adler32, EXPECTED_ADLER32_2352BYTES);
}
#if defined(__aarch64__) || defined(_M_ARM64) || defined(__arm__) || defined(_M_ARM)
#if defined(__aarch64__) || defined(_M_ARM64) || ((defined(__arm__) || defined(_M_ARM)) && !defined(_WIN32))
TEST_F(adler32Fixture, adler32_neon)
{
if(!have_neon()) return;