- bloody workaround for internal class' static properties
[m6w6/ext-http] / php_http_std_defs.h
index 00673eb338f58585871cae1983fa5586c1dabd3e..fac59a3c3203ca745aeb09e31f5188f1b08371c3 100644 (file)
@@ -362,7 +362,7 @@ typedef int STATUS;
 
 #ifndef TSRMLS_SET_CTX
 #      ifdef ZTS
-#              define TSRMLS_SET_CTX(ctx)      (void ***) ctx = tsrm_ls
+#              define TSRMLS_SET_CTX(ctx)      ctx = (void ***) tsrm_ls
 #      else
 #              define TSRMLS_SET_CTX(ctx)
 #      endif