X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http.c;h=874528ed0221d96c0429655de979a23daea2d3e9;hb=c8dff7011092296f9fcc12e68ad8eef18b19cdf4;hp=9322e3fd54feb30432c07cce7b5488a9780910f8;hpb=1bb903f3aad484c7adf638af3365cb7c668d3281;p=m6w6%2Fext-http diff --git a/http.c b/http.c index 9322e3f..874528e 100644 --- a/http.c +++ b/http.c @@ -107,9 +107,7 @@ zend_function_entry http_functions[] = { PHP_FE(http_put_file, http_arg_pass_ref_4) PHP_FE(http_put_stream, http_arg_pass_ref_4) PHP_FE(http_request, http_arg_pass_ref_5) -#ifdef HAVE_CURL_GETFORMDATA PHP_FE(http_request_body_encode, NULL) -#endif #endif PHP_FE(http_request_method_register, NULL) PHP_FE(http_request_method_unregister, NULL) @@ -137,16 +135,16 @@ PHP_MINFO_FUNCTION(http); /* {{{ http_module_dep */ #if ZEND_EXTENSION_API_NO >= 220050617 static zend_module_dep http_module_deps[] = { -# ifdef HAVE_SPL +# ifdef HTTP_HAVE_SPL ZEND_MOD_REQUIRED("spl") # endif -# ifdef HTTP_HAVE_EXT_HASH +# ifdef HTTP_HAVE_HASH ZEND_MOD_REQUIRED("hash") # endif -# ifdef HAVE_PHP_SESSION +# ifdef HTTP_HAVE_SESSION ZEND_MOD_REQUIRED("session") # endif -# ifdef HAVE_ICONV +# ifdef HTTP_HAVE_ICONV ZEND_MOD_REQUIRED("iconv") # endif {NULL, NULL, NULL, 0}