From 2ba8b0bc768e3659b30c4064f809247edd284536 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Mon, 18 May 2020 01:13:11 +0200 Subject: [PATCH] Fix bogus check in TSRM and adjust TSRM_ASSERT macro --- TSRM/TSRM.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c index bcd5c806b1b7c..520b1209f4846 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;