summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-12-01 20:15:09 +0000
committerAndi Gutmans <andi@php.net>2002-12-01 20:15:09 +0000
commit9f361fc0f824c1997d971fc8e2cd06c9596da09b (patch)
tree7901da752181259f97b0cabe40b0e1816b6602e3
parentb460dfc04237a9081a2310aa674e2dcd34b07b09 (diff)
downloadphp-git-9f361fc0f824c1997d971fc8e2cd06c9596da09b.tar.gz
- Allow enabling of memory cache with zend_mm
-rw-r--r--Zend/zend_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c
index 19a3e90d1d..ce1f60ad99 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -467,7 +467,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC)
}
#endif /* ZEND_ENABLE_FAST_CACHE */
-#if !ZEND_DISABLE_MEMORY_CACHE
+#if !ZEND_DISABLE_MEMORY_CACHE && !defined(ZEND_MM)
if (1 || clean_cache) {
unsigned int i, j;
zend_mem_header *ptr;