#include <systemalloc.h>
Multi-platform abstraction of aligned malloc/free/realloc windows (_aligned_malloc, _aligned_free, _aligned_realloc), posix (memalign, reallocalign, free), or handmade alignment used by derivations of SysAlloc Note that this is called with for 4096 byte "page" allocations to group smaller allocations <= 512 bytes but also directly for allocations > 512 bytes So the name PageAlloc is not totally relevant, but the interface has enough information to take advantage of platform specific page allocations.