X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=722e0b5a3ddd8b7e46d8eaeac0aed20deb757cb6;hp=79bc3663063682e8d4f6ad16a263f5d7d2111354;hb=a424177f646b2d0e629cde9832e3081ff48d79f3;hpb=c9e64337afc876a57febb37017f4bec2e1f79a23 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[] = {