summaryrefslogtreecommitdiff
path: root/Zend/zend_mm.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-06-24 13:21:49 +0000
committerAndi Gutmans <andi@php.net>2002-06-24 13:21:49 +0000
commit3b8cd875abc15b03fe912c4de9eca5890ba02708 (patch)
tree31748f045f732c08c5b98323eda71714c7c21120 /Zend/zend_mm.c
parent15d793660167c23cff0fd266824d734c296c24f5 (diff)
downloadphp-git-3b8cd875abc15b03fe912c4de9eca5890ba02708.tar.gz
- Hardcode alignment to 8. We might need a configure check for this.
Diffstat (limited to 'Zend/zend_mm.c')
-rw-r--r--Zend/zend_mm.c4
1 files changed, 4 insertions, 0 deletions
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)