diff options
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r-- | malloc/malloc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 1f5f166ea2..e293867d99 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -342,20 +342,6 @@ __malloc_assert (const char *assertion, const char *file, unsigned int line, #define SIZE_SZ (sizeof(INTERNAL_SIZE_T)) -/* - MALLOC_ALIGNMENT is the minimum alignment for malloc'ed chunks. - It must be a power of two at least 2 * SIZE_SZ, even on machines - for which smaller alignments would suffice. It may be defined as - larger than this though. Note however that code and data structures - are optimized for the case of 8-byte alignment. -*/ - - -#ifndef MALLOC_ALIGNMENT -# define MALLOC_ALIGNMENT (2 * SIZE_SZ < __alignof__ (long double) \ - ? __alignof__ (long double) : 2 * SIZE_SZ) -#endif - /* The corresponding bit mask value */ #define MALLOC_ALIGN_MASK (MALLOC_ALIGNMENT - 1) |