From e7c1206dcba5169d6d3d41b88a63db07a315cfc7 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 25 Aug 2005 14:28:23 +0000 Subject: [PATCH] - fix php4 build --- http.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/http.c b/http.c index 73d6f87..e64840e 100644 --- a/http.c +++ b/http.c @@ -241,7 +241,9 @@ PHP_MINIT_FUNCTION(http) /* {{{ PHP_MSHUTDOWN_FUNCTION */ PHP_MSHUTDOWN_FUNCTION(http) { +#ifdef ZEND_ENGINE_2 zend_hash_destroy(&http_response_statics); +#endif UNREGISTER_INI_ENTRIES(); #ifdef HTTP_HAVE_CURL curl_global_cleanup(); @@ -260,7 +262,9 @@ PHP_RINIT_FUNCTION(http) } http_globals_init(HTTP_GLOBALS); +#ifdef ZEND_ENGINE_2 zend_init_static_properties(http_response_object_ce, &http_response_statics TSRMLS_CC); +#endif return SUCCESS; } /* }}} */ -- 2.30.2