diff options
author | Ben Reynwar <ben@reynwar.net> | 2013-05-19 02:55:33 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2013-05-19 02:55:33 -0700 |
commit | bb01988e75d50d82cbb44c1a49c86c1d08f05665 (patch) | |
tree | 0528dac14476d37f2cde7374a8fcb3428f879c69 /gnuradio-runtime/lib/posix_memalign.cc | |
parent | e4f0319eced22c112f7e6a4cc45bc2036d285332 (diff) | |
parent | 0fa219774dcf9141ae91204f948c029b05673f3f (diff) |
Merged in next_docs branch.
Diffstat (limited to 'gnuradio-runtime/lib/posix_memalign.cc')
-rw-r--r-- | gnuradio-runtime/lib/posix_memalign.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/posix_memalign.cc b/gnuradio-runtime/lib/posix_memalign.cc index aaeff78042..f75b1d5f3f 100644 --- a/gnuradio-runtime/lib/posix_memalign.cc +++ b/gnuradio-runtime/lib/posix_memalign.cc @@ -36,7 +36,7 @@ /* emulate posix_memalign functionality, to some degree */ #include <errno.h> -#include "gr_pagesize.h" +#include "pagesize.h" int posix_memalign (void **memptr, size_t alignment, size_t size) @@ -86,7 +86,7 @@ int posix_memalign /* try valloc if it exists */ /* cheap and easy way to make sure alignment is met, so long as it * is <= pagesize () */ - if (alignment <= (size_t) gr_pagesize ()) { + if (alignment <= (size_t) gr::pagesize ()) { *memptr = valloc (size); } } @@ -98,7 +98,7 @@ int posix_memalign * (enough for the input arguments); no idea what to do. */ -#error gnuradio-core/src/libmissing/posix_memalign.cc: Cannot find a way to alloc aligned memory. +#error gnuradio-runtime/lib/posix_memalign.cc: Cannot find a way to alloc aligned memory. #endif |