From: Michael Wallner Date: Tue, 14 Jun 2005 10:44:06 +0000 (+0000) Subject: - request pools for ZE2 only yet X-Git-Tag: RELEASE_0_9_0~22 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=a424177f646b2d0e629cde9832e3081ff48d79f3;hp=c9e64337afc876a57febb37017f4bec2e1f79a23 - request pools for ZE2 only yet --- diff --git a/http_request_api.c b/http_request_api.c index 79bc366..722e0b5 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -819,7 +819,7 @@ PHP_HTTP_API STATUS _http_request_method_unregister(unsigned long method TSRMLS_ } /* }}} */ - +#ifdef ZEND_ENGINE_2 /* {{{ http_request_pool *http_request_pool_init(http_request_pool *) */ PHP_HTTP_API http_request_pool *_http_request_pool_init(http_request_pool *pool TSRMLS_DC) { @@ -1010,6 +1010,7 @@ static void http_request_pool_freehandle(zval **request, http_request_pool *pool #endif } /* }}} */ +#endif /* ZEND_ENGINE_2 */ /* {{{ char *http_request_methods[] */ static const char *const http_request_methods[] = {