summaryrefslogtreecommitdiff
path: root/Zend/zend_mm.c
diff options
context:
space:
mode:
authorJames Cox <imajes@php.net>2002-07-24 17:04:11 +0000
committerJames Cox <imajes@php.net>2002-07-24 17:04:11 +0000
commit5626fc5a39d49c74b2484dfa930880daaf18e9b2 (patch)
tree7a9f2d0094bc3b46600958d3afaed430d064389c /Zend/zend_mm.c
parent5b3ee5f27a306fcd960fa3628c36e07dc7fa1845 (diff)
downloadphp-git-5626fc5a39d49c74b2484dfa930880daaf18e9b2.tar.gz
move testing for the alignment values into configure.
Diffstat (limited to 'Zend/zend_mm.c')
-rw-r--r--Zend/zend_mm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_mm.c b/Zend/zend_mm.c
index dd184b8591..c65ae3ab77 100644
--- a/Zend/zend_mm.c
+++ b/Zend/zend_mm.c
@@ -34,6 +34,7 @@
#define MAX(a, b) (((a)>(b))?(a):(b))
#endif
+#if 0
/* Platform alignment test */
typedef union _mm_align_test {
void *ptr;
@@ -50,6 +51,7 @@ typedef union _mm_align_test {
/* We're going to need some kind of configure test for this */
#undef ZEND_MM_ALIGNMENT
#define ZEND_MM_ALIGNMENT 8
+#endif
#define ZEND_MM_ALIGNMENT_MASK ~(ZEND_MM_ALIGNMENT-1)