34 #ifndef MADNESS_WORLD_POSIXMEM_H__INCLUDED
35 #define MADNESS_WORLD_POSIXMEM_H__INCLUDED
42 #if !HAVE_POSIX_MEMALIGN
43 #include <sys/errno.h>
44 inline int posix_memalign(
void **memptr, std::size_t alignment, std::size_t size) {
46 if (*memptr)
return 0;
49 #elif MISSING_POSIX_MEMALIGN_PROTO
50 extern "C" int posix_memalign(
void **memptr, std::size_t alignment, std::size_t size);
Macros and tools pertaining to the configuration of MADNESS.
int posix_memalign(void **memptr, std::size_t alignment, std::size_t size)
Definition: posixmem.h:44