malloc alignment patch from Spider, needed for Tru64 + longdouble.
Jarkko Hietaniemi [Thu, 10 Jul 2003 17:35:32 +0000 (17:35 +0000)]
p4raw-id: //depot/perl@20118

malloc.c

index 456bed8..0656064 100644 (file)
--- 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 {
 /*