diff options
author | Chris Robinson <[email protected]> | 2012-08-15 05:50:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-08-15 05:50:40 -0700 |
commit | 28593579394d9dcf489ed190dca9b14cdc2340d9 (patch) | |
tree | f5e09e3df841b68e706a60a5637c9d579c9e946e /config.h.in | |
parent | 2cbb565d09425115590ad8845dda2a3e353d74df (diff) |
Add wrapper methods to ensure aligned allocations
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 8f9c14c8..2254adff 100644 --- a/config.h.in +++ b/config.h.in @@ -7,6 +7,15 @@ #define ALIGN(x) ${ALIGN_DECL} +/* Define if we have the C11 aligned_alloc function */ +#cmakedefine HAVE_ALIGNED_ALLOC + +/* Define if we have the posix_memalign function */ +#cmakedefine HAVE_POSIX_MEMALIGN + +/* Define if we have the _aligned_malloc function */ +#cmakedefine HAVE__ALIGNED_MALLOC + /* Define if we have SSE CPU extensions */ #cmakedefine HAVE_SSE |