From d406f2285390c402e824dd28e6992f7f890dcdf9 Mon Sep 17 00:00:00 2001 From: Aliaksey Kandratsenka Date: Sat, 5 Aug 2017 22:05:10 -0700 Subject: implement support for C11 aligned_alloc Just like glibc does, we simply alias it to memalign. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 9f211d3..6d289f9 100755 --- a/Makefile.am +++ b/Makefile.am @@ -97,6 +97,7 @@ endif OSX if HAVE_OBJCOPY_WEAKEN WEAKEN = $(OBJCOPY) -W malloc -W free -W realloc -W calloc -W cfree \ -W memalign -W posix_memalign -W valloc -W pvalloc \ + -W aligned_alloc \ -W malloc_stats -W mallopt -W mallinfo -W nallocx \ -W _Znwm -W _ZnwmRKSt9nothrow_t -W _Znam -W _ZnamRKSt9nothrow_t \ -W _ZdlPv -W _ZdaPv \ -- cgit v1.2.1