mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2001-04-25 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c: Allow MALLOC_ALIGNMENT to be defined on the compiler command line. * sysdeps/hppa/Makefile: Add -DMALLOC_ALIGNMENT=16 to compiler command line for malloc.c.
This commit is contained in:
@ -1292,7 +1292,10 @@ static void free_atfork();
|
||||
/* sizes, alignments */
|
||||
|
||||
#define SIZE_SZ (sizeof(INTERNAL_SIZE_T))
|
||||
#define MALLOC_ALIGNMENT (SIZE_SZ + SIZE_SZ)
|
||||
/* Allow the default to be overwritten on the compiler command line. */
|
||||
#ifndef MALLOC_ALIGNMENT
|
||||
# define MALLOC_ALIGNMENT (SIZE_SZ + SIZE_SZ)
|
||||
#endif
|
||||
#define MALLOC_ALIGN_MASK (MALLOC_ALIGNMENT - 1)
|
||||
#define MINSIZE (sizeof(struct malloc_chunk))
|
||||
|
||||
|
Reference in New Issue
Block a user