]> granicus.if.org Git - php/commitdiff
- Hardcode alignment to 8. We might need a configure check for this.
authorAndi Gutmans <andi@php.net>
Mon, 24 Jun 2002 13:21:49 +0000 (13:21 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 24 Jun 2002 13:21:49 +0000 (13:21 +0000)
Zend/zend_mm.c

index 78bb8ca112ee7ea0de6d7a6e1305afcbd3850e2e..dd184b8591d5b985fc2433b04a962e6edda2827b 100644 (file)
@@ -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)