X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_curl_client.c;h=58f0d935a11783cf58706c73f33b4d98e72fd099;hb=6dec39305b19e86425d30d10bff7fa788d3d83ab;hp=621e05b3d54b5587e388af31e7eaf03e7a480c92;hpb=25f0c16244fc5f8b2c9d9bfddab8a541d2521789;p=m6w6%2Fext-http diff --git a/php_http_curl_client.c b/php_http_curl_client.c index 621e05b..58f0d93 100644 --- a/php_http_curl_client.c +++ b/php_http_curl_client.c @@ -642,6 +642,7 @@ static STATUS php_http_curl_client_option_set_portrange(php_http_option_t *opt, return SUCCESS; } +#if PHP_HTTP_CURL_VERSION(7,21,3) static STATUS php_http_curl_client_option_set_resolve(php_http_option_t *opt, zval *val, void *userdata) { php_http_client_t *h = userdata; @@ -670,6 +671,7 @@ static STATUS php_http_curl_client_option_set_resolve(php_http_option_t *opt, zv } return SUCCESS; } +#endif static void php_http_curl_client_options_init(php_http_options_t *registry TSRMLS_DC) {