Hash :
dc4c5939
Author :
Date :
2023-01-19T21:55:20
Fix warnings for functions introduced in Android API level 16 or 17. * m4/posix_memalign.m4 (gl_FUNC_POSIX_MEMALIGN): Test for posix_memalign using gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE. * m4/alignalloc.m4 (gl_ALIGNALLOC): Likewise. * m4/pagealign_alloc.m4 (gl_PREREQ_PAGEALIGN_ALLOC): Likewise. * modules/aligned-malloc (configure.ac): Likewise.
Description:
Allocate memory with indefinite extent and specified alignment.
Files:
lib/aligned-malloc.h
m4/malloc-align.m4
Depends-on:
stdint
posix_memalign
aligned_alloc
memalign
configure.ac:
gl_MALLOC_ALIGNMENT
AC_REQUIRE([AC_C_INLINE])
AC_CHECK_FUNCS_ONCE([memalign])
gl_CHECK_FUNCS_ANDROID([aligned_alloc], [[#include <stdlib.h>]])
gl_CHECK_FUNCS_ANDROID([posix_memalign], [[#include <stdlib.h>]])
Makefile.am:
Include:
"aligned-malloc.h"
License:
LGPLv2+
Maintainer:
all