X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_inflatestream_object.h;h=590e0fbaaf308aa9c439139dce968811054ffef9;hp=ae6a2ae83aa13d313372aaeb122a4c17ba6a3b6d;hb=ad5f896b03adaa073134a00108a9cdf00720673a;hpb=aca5a5a21e4514707a71cfa69cc19ae50a78f5d3 diff --git a/php_http_inflatestream_object.h b/php_http_inflatestream_object.h index ae6a2ae..590e0fb 100644 --- a/php_http_inflatestream_object.h +++ b/php_http_inflatestream_object.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2007, Michael Wallner | + | Copyright (c) 2004-2010, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -14,7 +14,8 @@ #ifndef PHP_HTTP_INFLATESTREAM_OBJECT_H #define PHP_HTTP_INFLATESTREAM_OBJECT_H -#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_ZLIB) +#ifdef HTTP_HAVE_ZLIB +#ifdef ZEND_ENGINE_2 typedef struct _http_inflatestream_object_t { zend_object zo; @@ -41,6 +42,7 @@ PHP_METHOD(HttpInflateStream, update); PHP_METHOD(HttpInflateStream, flush); PHP_METHOD(HttpInflateStream, finish); +#endif #endif #endif