1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

- Hardcode alignment to 8. We might need a configure check for this.

This commit is contained in:
Andi Gutmans
2002-06-24 13:21:49 +00:00
parent 15d7936601
commit 3b8cd875ab

View 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)