#ifndef PHP_HTTP_DEFLATESTREAM_OBJECT_H
#define PHP_HTTP_DEFLATESTREAM_OBJECT_H
-#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_ZLIB)
+#ifdef HTTP_HAVE_ZLIB
+#ifdef ZEND_ENGINE_2
typedef struct _http_deflatestream_object_t {
zend_object zo;
PHP_METHOD(HttpDeflateStream, flush);
PHP_METHOD(HttpDeflateStream, finish);
+#endif
#endif
#endif