On Visual Studio 2017, it is unfortunate that it does not allow us to include arm_neon.h directly for ARM64 builds, so we must include arm64_neon.h instead.
Interestingly, Visual Studio 2019 can include arm_neon.h directly for ARM64 builds, which will in turn include arm64_neon.h
Fix the Visual Studio 2017 ARM64 build by:
Updating the check program to include arm64_neon.h when building with Visual Studio 2017 for ARM64.
Use macros in graphene-config.h.meson so that we include the right header depending on the compiler being used when building for ARM64.
Hi,
From the commit message:
On Visual Studio 2017, it is unfortunate that it does not allow us to include arm_neon.h directly for ARM64 builds, so we must include arm64_neon.h instead.
Interestingly, Visual Studio 2019 can include arm_neon.h directly for ARM64 builds, which will in turn include arm64_neon.h
Fix the Visual Studio 2017 ARM64 build by:
Updating the check program to include arm64_neon.h when building with Visual Studio 2017 for ARM64.
Use macros in graphene-config.h.meson so that we include the right header depending on the compiler being used when building for ARM64.
With blessings, thank you!