From b677af22650f6bb6ffe3f6695bacaa5c25591b7d Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 23 Jul 2001 04:21:11 +0000 Subject: [PATCH] tsrm_error is only available, if TSRM_DEBUG is defined. --- Zend/zend_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index 74c4808f82..42bc335a9b 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -268,7 +268,7 @@ ZEND_API void *_erealloc(void *ptr, size_t size, int allow_failure ZEND_FILE_LIN p = orig = (zend_mem_header *) ((char *)ptr-sizeof(zend_mem_header)-MEM_HEADER_PADDING); -#if defined(ZTS) && ZEND_DEBUG +#if defined(ZTS) && TSRM_DEBUG if (p->thread_id != tsrm_thread_id()) { void *new_p; -- 2.50.1