aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat/ubuntu_14/aligned_alloc.c
blob: c4a1378624fe32ed8ae513770cc8e7458b127d53 (plain) (blame)
1
2
3
4
5
6
#include <malloc.h>
#include <stdlib.h>

__attribute__((weak)) void* aligned_alloc(size_t alignment, size_t size) {
    return memalign(alignment, size);
}