From e8f1640adb2c057838daf35826e5f65440768744 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 14 Sep 2006 08:56:11 +0000 Subject: [PATCH] Write valid run-time value for Zend Memory Manager --- ext/standard/info.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ext/standard/info.c b/ext/standard/info.c index 974421b3fdc..221cad11ed7 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -488,11 +488,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) php_info_print_table_row(2, "Thread Safety", "disabled" ); #endif -#if USE_ZEND_ALLOC - php_info_print_table_row(2, "Zend Memory Manager", "enabled" ); -#else - php_info_print_table_row(2, "Zend Memory Manager", "disabled" ); -#endif + php_info_print_table_row(2, "Zend Memory Manager", is_zend_mm(TSRMLS_C) ? "enabled" : "disabled" ); { char buf[1024];