Fix unresolved external symbol __popcnt on win-arm64

This commit is contained in:
Christoph Gohlke 2022-11-27 19:51:17 -05:00
parent 92a7bfc680
commit 0575e036d9

@ -2890,7 +2890,7 @@ vtkm::Int32 CountSetBits(vtkm::UInt32 word)
return __builtin_popcount(word);
# elif defined(VTKM_MSVC)
# elif defined(VTKM_MSVC) && !defined(_M_ARM64)
return static_cast<vtkm::Int32>(__popcnt(word));
@ -2932,7 +2932,7 @@ vtkm::Int32 CountSetBits(vtkm::UInt64 word)
return __builtin_popcountll(word);
# elif defined(VTKM_MSVC)
# elif defined(VTKM_MSVC) && !defined(_M_ARM64)
return static_cast<vtkm::Int32>(__popcnt64(word));