summaryrefslogtreecommitdiffstats
path: root/lib/ffts/src/ffts_real.c
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2024-08-24 13:18:50 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2024-08-24 13:51:12 -0500
commitc1b1bef77ead0f3440833f01c03b0af61ef8ec20 (patch)
treed278c723f80c904f01346fa4fe3bdfd2d363b671 /lib/ffts/src/ffts_real.c
parent2ef6dba8728db2437def9a4fc1d3e20e0aa44c31 (diff)
downloadulab-c1b1bef77ead0f3440833f01c03b0af61ef8ec20.tar.gz
ulab-c1b1bef77ead0f3440833f01c03b0af61ef8ec20.zip
Fix FTBFS on ppc64el hostsHEADmaster
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
+}