diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-10-10 12:11:31 +0000 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-10-10 12:11:31 +0000 |
commit | ea6f1557a0dd686fd74020509bdaadf689dd1c76 (patch) | |
tree | 62e812e12ecf94d9165337dbbde0992c568ce6c7 /src/Flowgraph.cpp | |
parent | 3ae264aa4cf28ac8c860ad3f74fdc1c68b1a854e (diff) | |
download | dabmod-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.cpp | 6 |
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> |