We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d66e4f commit 71f8e9cCopy full SHA for 71f8e9c
TSRM/TSRM.c
@@ -16,13 +16,7 @@
16
17
#include <stdio.h>
18
#include <stdarg.h>
19
-
20
-#ifdef ZEND_DEBUG
21
-# include <assert.h>
22
-# define TSRM_ASSERT assert
23
-#else
24
-# define TSRM_ASSERT
25
-#endif
+#include "Zend/zend_portability.h"
26
27
typedef struct _tsrm_tls_entry tsrm_tls_entry;
28
@@ -479,7 +473,7 @@ void ts_free_thread(void)
479
473
int hash_value;
480
474
tsrm_tls_entry *last=NULL;
481
475
482
- TSRM_ASSERT(!in_main_thread);
476
+ ZEND_ASSERT(!in_main_thread);
483
477
484
478
tsrm_mutex_lock(tsmm_mutex);
485
hash_value = THREAD_HASH_OF(thread_id, tsrm_tls_table_size);
0 commit comments