From 3302ffb09e32f0e007426e8740ba39fc26682716 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Mon, 18 May 2020 01:13:11 +0200 Subject: Fix bogus check in TSRM and adjust TSRM_ASSERT macro Closes GH-5562 --- TSRM/TSRM.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'TSRM') diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index bcd5c806b1..acd1c395d7 100644 --- a/TSRM/TSRM.c +++ b/TSRM/TSRM.c @@ -17,11 +17,11 @@ #include #include -#ifdef ZEND_DEBUG +#if ZEND_DEBUG # include -# define TSRM_ASSERT assert +# define TSRM_ASSERT(c) assert(c) #else -# define TSRM_ASSERT +# define TSRM_ASSERT(c) #endif typedef struct _tsrm_tls_entry tsrm_tls_entry; -- cgit v1.2.1