summaryrefslogtreecommitdiffstats
path: root/lib/ffts/src/ffts_real.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffts/src/ffts_real.c')
-rw-r--r--lib/ffts/src/ffts_real.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ffts/src/ffts_real.c b/lib/ffts/src/ffts_real.c
index e0f0e1f..a1a0482 100644
--- a/lib/ffts/src/ffts_real.c
+++ b/lib/ffts/src/ffts_real.c
@@ -738,7 +738,7 @@ ffts_execute_1d_real_inv(ffts_plan_t *p, const void *input, void *output)
FFTS_API ffts_plan_t*
ffts_init_1d_real(size_t N, int sign)
{
-#ifndef __ARM_NEON__
+#if !defined( __ARM_NEON__ ) && !defined( __ALTIVEC__ )
int cpu_flags = ffts_cpu_detect(NULL);
#endif
ffts_plan_t *p;
@@ -799,4 +799,4 @@ ffts_init_1d_real(size_t N, int sign)
cleanup:
ffts_free_1d_real(p);
return NULL;
-} \ No newline at end of file
+}