aboutsummaryrefslogtreecommitdiffstats
path: root/src/Resampler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Resampler.cpp')
-rw-r--r--src/Resampler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Resampler.cpp b/src/Resampler.cpp
index 773b9cc..334be99 100644
--- a/src/Resampler.cpp
+++ b/src/Resampler.cpp
@@ -23,10 +23,10 @@
#include "PcDebug.h"
-#ifdef __ppc__
-# define memalign(a, b) malloc(b)
-#else // !__ppc__
+#if HAVE_DECL__MM_MALLOC
# include <mm_malloc.h>
+#else
+# define memalign(a, b) malloc(b)
#endif
#include <sys/types.h>
#include <string.h>