X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_inflatestream_object.h;h=3a090139219e9a09bb9b07afb4eaaba06ca19d8d;hp=783cf8b25c5da577c1eb796d325de7711ac3be37;hb=a3550dfdf5079087b74c28470cccaa59ed7712b4;hpb=b3afcfc70bf06c062115f4994cc04fc8c6e4aa67 diff --git a/php_http_inflatestream_object.h b/php_http_inflatestream_object.h index 783cf8b..3a09013 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-2006, Michael Wallner | + | Copyright (c) 2004-2007, 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