mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-14 05:44:56 +00:00
Fix: Windows does not define __ARM_NEON
This commit is contained in:
parent
1088387f75
commit
951520f581
@ -226,13 +226,14 @@
|
|||||||
|
|
||||||
#endif // defined(CPU_FEATURES_ARCH_X86)
|
#endif // defined(CPU_FEATURES_ARCH_X86)
|
||||||
|
|
||||||
#if defined(CPU_FEATURES_ARCH_ANY_ARM)
|
// Note: MSVC targeting ARM does not define `__ARM_NEON` but Windows on ARM
|
||||||
#if defined(__ARM_NEON)
|
// requires it. In that case we force NEON detection.
|
||||||
|
#if defined(__ARM_NEON) || \
|
||||||
|
(defined(CPU_FEATURES_COMPILER_MSC) && defined(CPU_FEATURES_ARCH_ANY_ARM))
|
||||||
#define CPU_FEATURES_COMPILED_ANY_ARM_NEON 1
|
#define CPU_FEATURES_COMPILED_ANY_ARM_NEON 1
|
||||||
#else
|
#else
|
||||||
#define CPU_FEATURES_COMPILED_ANY_ARM_NEON 0
|
#define CPU_FEATURES_COMPILED_ANY_ARM_NEON 0
|
||||||
#endif // defined(__ARM_NEON)
|
#endif
|
||||||
#endif // defined(CPU_FEATURES_ARCH_ANY_ARM)
|
|
||||||
|
|
||||||
#if defined(CPU_FEATURES_ARCH_MIPS)
|
#if defined(CPU_FEATURES_ARCH_MIPS)
|
||||||
#if defined(__mips_msa)
|
#if defined(__mips_msa)
|
||||||
|
Loading…
Reference in New Issue
Block a user