Add HAVE_NEON define preprocessor rule for performance.c

This commit is contained in:
twinaphex 2013-07-12 21:30:52 +02:00
parent ee6e1fd070
commit 754601c369
2 changed files with 2 additions and 2 deletions

View File

@ -312,7 +312,7 @@ ifeq ($(HAVE_NEON),1)
OBJ += audio/sinc_neon.o
# When compiled without this, tries to attempt to compile sinc lerp,
# which will error out
DEFINES += -DSINC_LOWER_QUALITY
DEFINES += -DSINC_LOWER_QUALITY -DHAVE_NEON
endif
OBJ += audio/utils.o

View File

@ -225,7 +225,7 @@ void rarch_get_cpu_features(struct rarch_cpu_features *cpu)
cpu->simd |= RARCH_SIMD_NEON;
RARCH_LOG("[CPUID]: NEON: %u\n", !!(cpu->simd & RARCH_SIMD_NEON));
#elif defined(__BLACKBERRY_QNX__)
#elif defined(HAVE_NEON)
cpu->simd |= RARCH_SIMD_NEON;
RARCH_LOG("[CPUID]: NEON: %u\n", !!(cpu->simd & RARCH_SIMD_NEON));
#elif defined(__CELLOS_LV2__)