Skip to content

Commit 90a1842

Browse files
committed
Fix PHP 8.0 tests under ZTS
1 parent f055bcd commit 90a1842

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

php_zookeeper.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ extern zend_module_entry zookeeper_module_entry;
4242
#define TSRMLS_CC
4343
#define TSRMLS_FETCH()
4444
#define TSRMLS_FETCH_FROM_CTX(z)
45-
#define tsrm_set_interpreter_context(z)
45+
void *tsrm_set_interpreter_context(void *new_ctx)
46+
{
47+
return NULL;
48+
}
4649
#endif // if PHP >= 8.0
4750
#endif
4851

0 commit comments

Comments
 (0)