summaryrefslogtreecommitdiff
path: root/sapi/embed/php_embed.h
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/embed/php_embed.h')
-rw-r--r--sapi/embed/php_embed.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/embed/php_embed.h b/sapi/embed/php_embed.h
index a109a1bba2..b62fd9fe24 100644
--- a/sapi/embed/php_embed.h
+++ b/sapi/embed/php_embed.h
@@ -27,14 +27,14 @@
#include <main/php_ini.h>
#include <zend_ini.h>
-#ifdef PASS_TSRMLS
-#define PTSRMLS_D void ***ptsrm_ls
+#ifdef ZTS
+#define PTSRMLS_D void ****ptsrm_ls
#define PTSRMLS_DC , PTSRMLS_D
#define PTSRMLS_C &tsrm_ls
#define PTSRMLS_CC , PTSRMLS_C
#define PHP_EMBED_START_BLOCK(x,y) { \
- void **tsrm_ls; \
+ void ***tsrm_ls; \
php_embed_init(x, y PTSRMLS_CC); \
zend_first_try {