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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user