Fix build with curl < 7.26
authorRemi Collet <remi@php.net>
Thu, 25 Sep 2014 08:16:51 +0000 (10:16 +0200)
committerRemi Collet <remi@php.net>
Thu, 25 Sep 2014 08:16:51 +0000 (10:16 +0200)
commit62030d589336fc052eab8cf4503ef1968f5d9ac8
tree751445611504d864eceee3ce4558c4eb481aa6ec
parent3fc495bd0741c49d3b756cbd3e051448f211f7db
Fix build with curl < 7.26

$ grep  "define CURL_REDIR_POST_30" curl-7.2*/include/curl/curl.h

curl-7.25.0/include/curl/curl.h:#define CURL_REDIR_POST_301 1
curl-7.25.0/include/curl/curl.h:#define CURL_REDIR_POST_302 2

curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_301 1
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_302 2
curl-7.26.0/include/curl/curl.h:#define CURL_REDIR_POST_303 4
php_http_client_curl.c