summaryrefslogtreecommitdiffstats
path: root/src/Resampler.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-10-10 12:11:31 +0000
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-10-10 12:11:31 +0000
commitea6f1557a0dd686fd74020509bdaadf689dd1c76 (patch)
tree62e812e12ecf94d9165337dbbde0992c568ce6c7 /src/Resampler.cpp
parent3ae264aa4cf28ac8c860ad3f74fdc1c68b1a854e (diff)
downloaddabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.tar.gz
dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.tar.bz2
dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.zip
Get compilation working on ARM
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>