summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:07:18 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-11 15:07:18 +0100
commit1087a7f4ad8bb1bc9bf4472bf2734b0e4929e7d1 (patch)
tree639e403dfe0bce5c2714274d19f540223e072def /src/DabMod.cpp
parent1ed50fe16d749ac3a841650c4054d137b9cf7a10 (diff)
downloaddabmod-1087a7f4ad8bb1bc9bf4472bf2734b0e4929e7d1.tar.gz
dabmod-1087a7f4ad8bb1bc9bf4472bf2734b0e4929e7d1.tar.bz2
dabmod-1087a7f4ad8bb1bc9bf4472bf2734b0e4929e7d1.zip
Remove references to malloc.h and use posix_memalign
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index af3adde..1625a82 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -64,13 +64,6 @@
# include <netinet/in.h>
#endif
-#if HAVE_DECL__MM_MALLOC
-# include <mm_malloc.h>
-#else
-# define memalign(a, b) malloc(b)
-#endif
-
-
/* UHD requires the input I and Q samples to be in the interval
* [-1.0,1.0], otherwise they get truncated, which creates very
* wide-spectrum spikes. Depending on the Transmission Mode, the