28 lines
516 B
Diff
28 lines
516 B
Diff
diff --git a/src/pffft-wrap.c b/src/pffft-wrap.c
|
|
index c920f06..f75aae0 100644
|
|
--- a/src/pffft-wrap.c
|
|
+++ b/src/pffft-wrap.c
|
|
@@ -5,6 +5,8 @@
|
|
|
|
#include "math-wrap.h"
|
|
|
|
+#if !defined PFFFT_SIMD_DISABLE
|
|
+
|
|
#if PFFFT_DOUBLE
|
|
#include "util64s.h"
|
|
#else
|
|
@@ -13,10 +15,13 @@
|
|
#define cos(x) cosf(x)
|
|
#endif
|
|
|
|
+#endif
|
|
+
|
|
#define pffft_aligned_free SIMD_ALIGNED_FREE
|
|
#define pffft_aligned_malloc SIMD_ALIGNED_MALLOC
|
|
#define pffft_aligned_calloc SIMD_ALIGNED_CALLOC
|
|
|
|
+
|
|
#undef inline
|
|
#define inline __inline
|
|
|