summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-12-31 00:04:52 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-12-31 00:04:52 +0000
commit87a8b040512601a9b1c82b490a9e3d2d6fadfc26 (patch)
tree5c31784e5c80df2d92553c3774fd5f8152712d21
parent6f6bc82de797537f6d8b1db96497dd3d7d556f9a (diff)
downloadphp-git-87a8b040512601a9b1c82b490a9e3d2d6fadfc26.tar.gz
Fix ZTS build.
-rw-r--r--ext/zlib/php_zlib.h2
-rw-r--r--ext/zlib/zlib.c2
-rw-r--r--main/output.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h
index 65e45fac30..5e49ab5acc 100644
--- a/ext/zlib/php_zlib.h
+++ b/ext/zlib/php_zlib.h
@@ -54,7 +54,7 @@ PHP_FUNCTION(gzencode);
PHP_FUNCTION(ob_gzhandler);
int php_enable_output_compression(int buffer_size TSRMLS_DC);
-int php_ob_gzhandler_check(TSRMLS_DC);
+int php_ob_gzhandler_check(TSRMLS_D);
php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
extern php_stream_ops php_stream_gzio_ops;
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index fe2b4be374..798c2529f3 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -892,7 +892,7 @@ PHP_FUNCTION(gzencode)
/* {{{ php_ob_gzhandler_check
*/
-int php_ob_gzhandler_check(TSRMLS_DC)
+int php_ob_gzhandler_check(TSRMLS_D)
{
/* check for wrong usages */
if (OG(ob_nesting_level>0)) {
diff --git a/main/output.c b/main/output.c
index 8a5cfe6cbb..2a170b5678 100644
--- a/main/output.c
+++ b/main/output.c
@@ -409,7 +409,7 @@ static int php_ob_init_named(uint initial_size, uint block_size, char *handler_n
{
if (OG(ob_nesting_level)>0) {
#ifdef HAVE_ZLIB
- if (!strncmp(handler_name, "ob_gzhandler", sizeof("ob_gzhandler")) && php_ob_gzhandler_check(TSRMLS_CC)) {
+ if (!strncmp(handler_name, "ob_gzhandler", sizeof("ob_gzhandler")) && php_ob_gzhandler_check(TSRMLS_C)) {
return FAILURE;
}
#endif