1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
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:
Ulrich Drepper
2001-04-26 00:07:06 +00:00
parent e0ea35832e
commit c3fa6e3dc7
5 changed files with 39 additions and 26 deletions

View File

@ -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))