X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=http_requestpool_object.c;h=2f1b4175cfaf1d9ed1fc770c42f3053bd25b6948;hb=64b8eb68455c36e7e153014deaf52a6f9d2de39c;hp=f7161c7b0139e3ce887886a7e60d5fa44ccb24fb;hpb=1ad1914243fce5fb0416a82258ec25e966f802b7;p=m6w6%2Fext-http diff --git a/http_requestpool_object.c b/http_requestpool_object.c index f7161c7..2f1b417 100644 --- a/http_requestpool_object.c +++ b/http_requestpool_object.c @@ -19,22 +19,18 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif - -#ifdef HTTP_HAVE_CURL -# ifdef PHP_WIN32 -# include -# endif -# include -#endif - #include "php.h" +#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_CURL) + #include "php_http_std_defs.h" #include "php_http_requestpool_object.h" #include "php_http_request_pool_api.h" -#ifdef ZEND_ENGINE_2 -#ifdef HTTP_HAVE_CURL +#ifdef PHP_WIN32 +# include +#endif +#include HTTP_DECLARE_ARG_PASS_INFO(); @@ -102,8 +98,7 @@ void _http_requestpool_object_free(zend_object *object TSRMLS_DC) efree(o); } -#endif /* HTTP_HAVE_CURL */ -#endif /* ZEND_ENGINE_2 */ +#endif /* ZEND_ENGINE_2 && HTTP_HAVE_CURL */ /* * Local variables: