diff options
author | Andi Gutmans <andi@php.net> | 2002-06-19 16:53:06 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-06-19 16:53:06 +0000 |
commit | ad9bed0edd82ae77470ad8abc77513e4165e7723 (patch) | |
tree | cc768b48a3421fd0914214fb94c38dbe1a2c1888 /Zend/zend_alloc.c | |
parent | 7e6fdcaa20464d374ded6cdb5efaf4784a2ee1a5 (diff) | |
download | php-git-ad9bed0edd82ae77470ad8abc77513e4165e7723.tar.gz |
- Oops, this was supposed to be part of the previous #ifdef ZEND_MM change
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 3e898c1174..e76b2272a7 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -40,7 +40,7 @@ ZEND_API zend_alloc_globals alloc_globals; #define ZEND_DISABLE_MEMORY_CACHE 0 -#if ZEND_MM +#ifdef ZEND_MM #define ZEND_DO_MALLOC(size) zend_mm_alloc(&AG(mm_heap), size) #define ZEND_DO_FREE(ptr) zend_mm_free(&AG(mm_heap), ptr) #define ZEND_DO_REALLOC(ptr, size) zend_mm_realloc(&AG(mm_heap), ptr, size) @@ -420,7 +420,7 @@ ZEND_API void start_memory_manager(TSRMLS_D) memset(AG(fast_cache_list_head), 0, sizeof(AG(fast_cache_list_head))); memset(AG(cache_count), 0, sizeof(AG(cache_count))); -#if ZEND_MM +#ifdef ZEND_MM zend_mm_startup(&AG(mm_heap), 256*1024); #elif defined(ZEND_WIN32) AG(memory_heap) = HeapCreate(HEAP_NO_SERIALIZE, 256*1024, 0); @@ -461,7 +461,7 @@ ZEND_API void shutdown_memory_manager(int silent, int clean_cache TSRMLS_DC) #endif zend_fast_cache_list_entry *fast_cache_list_entry, *next_fast_cache_list_entry; -#if ZEND_MM +#ifdef ZEND_MM zend_mm_shutdown(&AG(mm_heap)); return; #elif defined(ZEND_WIN32) && !ZEND_DEBUG |