Skip to content

Commit 2ba8b0b

Browse files
committed
Fix bogus check in TSRM and adjust TSRM_ASSERT macro
1 parent 7c33644 commit 2ba8b0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

TSRM/TSRM.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
#include <stdio.h>
1818
#include <stdarg.h>
1919

20-
#ifdef ZEND_DEBUG
20+
#if ZEND_DEBUG
2121
# include <assert.h>
22-
# define TSRM_ASSERT assert
22+
# define TSRM_ASSERT(c) assert(c)
2323
#else
24-
# define TSRM_ASSERT
24+
# define TSRM_ASSERT(c)
2525
#endif
2626

2727
typedef struct _tsrm_tls_entry tsrm_tls_entry;

0 commit comments

Comments
 (0)