summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-10 17:35:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-10 17:35:32 +0000
commit2b1d54e56963cfc0f0bdfe890c87eeb20bb70fc1 (patch)
tree0a0ac2493a432e364322e4612003d56c814ce324 /malloc.c
parentb35112e751727d4207068fd54bf0c9d77ad0ba97 (diff)
downloadperl-2b1d54e56963cfc0f0bdfe890c87eeb20bb70fc1.tar.gz
malloc alignment patch from Spider, needed for Tru64 + longdouble.
p4raw-id: //depot/perl@20118
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/malloc.c b/malloc.c
index 456bed8282..0656064177 100644
--- a/malloc.c
+++ b/malloc.c
@@ -566,6 +566,9 @@ union overhead {
union overhead *ov_next; /* when free */
#if MEM_ALIGNBYTES > 4
double strut; /* alignment problems */
+# if MEM_ALIGNBYTES > 8
+ char sstrut[MEM_ALIGNBYTES]; /* for the sizing */
+# endif
#endif
struct {
/*