3 #if !defined(VGO_darwin)
6 #include "../../config.h"
7 #include "../memcheck.h"
16 (void)VALGRIND_MAKE_MEM_UNDEFINED(&size
, sizeof(size
));
17 (void)VALGRIND_MAKE_MEM_UNDEFINED(&align
, sizeof(align
));
18 #if !defined(VGO_darwin)
19 p
= memalign(align
, size
);
23 (void)posix_memalign((void **)&mem
,align
,size
);
26 #if defined(HAVE_ALIGNED_ALLOC)
27 p
= aligned_alloc(align
, size
);