From: Andi Gutmans Date: Mon, 24 Jun 2002 13:21:49 +0000 (+0000) Subject: - Hardcode alignment to 8. We might need a configure check for this. X-Git-Tag: php-4.3.0dev_zend2_alpha2~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b8cd875abc15b03fe912c4de9eca5890ba02708;p=php - Hardcode alignment to 8. We might need a configure check for this. --- diff --git a/Zend/zend_mm.c b/Zend/zend_mm.c index 78bb8ca112..dd184b8591 100644 --- a/Zend/zend_mm.c +++ b/Zend/zend_mm.c @@ -47,6 +47,10 @@ typedef union _mm_align_test { #define ZEND_MM_ALIGNMENT (sizeof(mm_align_test)) #endif +/* We're going to need some kind of configure test for this */ +#undef ZEND_MM_ALIGNMENT +#define ZEND_MM_ALIGNMENT 8 + #define ZEND_MM_ALIGNMENT_MASK ~(ZEND_MM_ALIGNMENT-1) #define ZEND_MM_BUCKET_INDEX(true_size) (true_size >> 3)