summaryrefslogtreecommitdiff
path: root/Zend/zend_alloc.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-07-23 04:19:32 +0000
committerSascha Schumann <sas@php.net>2001-07-23 04:19:32 +0000
commit28ecbb213c13cbb38950f29ddc60bdee0e6781f7 (patch)
tree19f273d529b0956f7beaf11f41e11e79a8b62fad /Zend/zend_alloc.c
parentc1938e3f1306ed7df55246364c76d1101400c6fa (diff)
downloadphp-git-28ecbb213c13cbb38950f29ddc60bdee0e6781f7.tar.gz
tsrm_error is only available, if TSRM_DEBUG is defined.
Diffstat (limited to 'Zend/zend_alloc.c')
-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 9709528d8c..74c4808f82 100644
--- a/Zend/zend_alloc.c
+++ b/Zend/zend_alloc.c
@@ -200,7 +200,7 @@ ZEND_API void _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
DECLARE_CACHE_VARS();
ALS_FETCH();
-#if defined(ZTS) && ZEND_DEBUG
+#if defined(ZTS) && TSRM_DEBUG
if (p->thread_id != tsrm_thread_id()) {
tsrm_error(TSRM_ERROR_LEVEL_ERROR, "Memory block allocated at %s:(%d) on thread %x freed at %s:(%d) on thread %x, ignoring",
p->filename, p->lineno, p->thread_id,