projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
3c3f9ac
)
fix build with old curl version
author
Remi Collet
<remi@php.net>
Thu, 13 Dec 2012 18:05:50 +0000
(18:05 +0000)
committer
Remi Collet
<remi@php.net>
Thu, 13 Dec 2012 18:05:50 +0000
(18:05 +0000)
php_http_curl_client.c
patch
|
blob
|
history
diff --git
a/php_http_curl_client.c
b/php_http_curl_client.c
index 621e05b3d54b5587e388af31e7eaf03e7a480c92..58f0d935a11783cf58706c73f33b4d98e72fd099 100644
(file)
--- 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)
{