From: Sascha Schumann Date: Mon, 23 Jul 2001 04:21:11 +0000 (+0000) Subject: tsrm_error is only available, if TSRM_DEBUG is defined. X-Git-Tag: PRE_TSRM_MERGE_PATCH~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b677af22650f6bb6ffe3f6695bacaa5c25591b7d;p=php tsrm_error is only available, if TSRM_DEBUG is defined. --- 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;