Permalink
Browse files

Add HAVE_NEON define preprocessor rule for performance.c

  • Loading branch information...
1 parent ee6e1fd commit 754601c369c5bd317468129d12ef16ca00c3ec54 @twinaphex twinaphex committed Jul 12, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 performance.c
View
@@ -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
@@ -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__)

0 comments on commit 754601c

Please sign in to comment.