3 #include "../../../config.h"
7 // @todo PJF this is a placeholder for 10.15 and later support
8 #if !defined(VGO_darwin)
12 p
= aligned_alloc(0, 8);
14 // non multiple of alignment fails on Darwin
15 p
= aligned_alloc(8, 25);
17 // align not power of 2
18 p
= aligned_alloc(40, 160);
22 // @todo PJF this works standalone
23 // but for some reason it doesn't fail in arena_memalign
25 // ==25899== Warning: set address range perms: large range [0x1000, 0x1000000001000) (defined)
30 if (sizeof(size_t) == 8)
32 p
= aligned_alloc(16, 1UL<<48);