mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2026-10-24 00:48:56 +03:00
Reported by <gnulib@mifar.in> in <https://lists.gnu.org/archive/html/bug-gnulib/2026-09/msg00097.html>. * m4/aligned_alloc.m4 (gl_FUNC_ALIGNED_ALLOC_WORKS): New macro, extracted from gl_FUNC_ALIGNED_ALLOC. (gl_FUNC_ALIGNED_ALLOC): Use it. * m4/alignalloc.m4 (gl_ALIGNALLOC): Invoke gl_FUNC_ALIGNED_ALLOC_WORKS and define HAVE_WORKING_ALIGNED_ALLOC. * lib/alignalloc.h (ALIGNALLOC_VIA_ALIGNED_ALLOC): Test HAVE_WORKING_ALIGNED_ALLOC, instead of testing for an address sanitizer. * modules/alignalloc (Files): Add m4/aligned_alloc.m4.
34 lines
361 B
Plaintext
34 lines
361 B
Plaintext
Description:
|
|
Aligned memory allocation
|
|
|
|
Files:
|
|
lib/alignalloc.h
|
|
lib/alignalloc.c
|
|
m4/alignalloc.m4
|
|
m4/aligned_alloc.m4
|
|
|
|
Depends-on:
|
|
alignasof
|
|
assert-h
|
|
extensions
|
|
extern-inline
|
|
idx
|
|
posix_memalign
|
|
stdckdint-h
|
|
stdint-h
|
|
|
|
configure.ac:
|
|
gl_ALIGNALLOC
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += alignalloc.c
|
|
|
|
Include:
|
|
"alignalloc.h"
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
bug-gnulib@gnu.org
|