aboutsummaryrefslogtreecommitdiffstats
path: root/src/Flowgraph.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/Flowgraph.cpp
parent3ae264aa4cf28ac8c860ad3f74fdc1c68b1a854e (diff)
downloaddabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.tar.gz
dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.tar.bz2
dabmod-ea6f1557a0dd686fd74020509bdaadf689dd1c76.zip
Get compilation working on ARM
Diffstat (limited to 'src/Flowgraph.cpp')
-rw-r--r--src/Flowgraph.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Flowgraph.cpp b/src/Flowgraph.cpp
index 4e44f28..dd9c68b 100644
--- a/src/Flowgraph.cpp
+++ b/src/Flowgraph.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 <stdexcept>