summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/malloc/heap.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-22 02:42:47 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-22 02:42:47 +0000
commita6624c7cb7f47281f01834c00d31322dfe9b16f2 (patch)
tree8f9619816ca742397dc8ef00048607184c980a96 /libc/stdlib/malloc/heap.h
parent7eac2221e41a367288359189d4bc557ae367c01a (diff)
downloaduClibc-alpine-a6624c7cb7f47281f01834c00d31322dfe9b16f2.tar.bz2
uClibc-alpine-a6624c7cb7f47281f01834c00d31322dfe9b16f2.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/stdlib/malloc/heap.h')
-rw-r--r--libc/stdlib/malloc/heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/heap.h b/libc/stdlib/malloc/heap.h
index ab1a73896..b66b5ecef 100644
--- a/libc/stdlib/malloc/heap.h
+++ b/libc/stdlib/malloc/heap.h
@@ -25,7 +25,7 @@
HEAP_GRANULARITY must be a power of 2. Malloc depends on this being the
same as MALLOC_ALIGNMENT. */
#define HEAP_GRANULARITY_TYPE double
-#define HEAP_GRANULARITY (sizeof (HEAP_GRANULARITY_TYPE))
+#define HEAP_GRANULARITY (__alignof__ (HEAP_GRANULARITY_TYPE))
/* A heap is a collection of memory blocks, from which smaller blocks