diff options
| author | Adam Harvey <aharvey@php.net> | 2014-03-11 11:04:26 -0700 |
|---|---|---|
| committer | Adam Harvey <aharvey@php.net> | 2014-03-11 11:04:26 -0700 |
| commit | f8252aa537e9a31d9b910f724cc5606b388ca0fb (patch) | |
| tree | ca0ea39e9449ab7e0946925fcabc17bd93a6bdaf /ext/curl/interface.c | |
| parent | cb5178a450055f5b9378efb55732f7e263d210b6 (diff) | |
| download | php-git-f8252aa537e9a31d9b910f724cc5606b388ca0fb.tar.gz | |
Fix compile error with theoretically supported versions of libcurl < 7.12.3.
Diffstat (limited to 'ext/curl/interface.c')
| -rw-r--r-- | ext/curl/interface.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 09e20d3a67..87b871f203 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -3142,6 +3142,7 @@ PHP_FUNCTION(curl_getinfo) } break; } +#if LIBCURL_VERSION_NUM >= 0x070c03 /* Available since 7.12.3 */ case CURLINFO_SLIST: { struct curl_slist *slist; @@ -3157,6 +3158,7 @@ PHP_FUNCTION(curl_getinfo) } break; } +#endif default: RETURN_FALSE; } |
