X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_curl.h;h=0c533bdf839df3a788163c852a8118d7824e7efb;hp=ab8b63ceb9835ee57589d42126a1005e17d2c590;hb=3ad07f3509413fa7b2bfdba44155a8417eb76629;hpb=66a4a15d65841a0abcaf78a8c846489067996fa5 diff --git a/src/php_http_curl.h b/src/php_http_curl.h index ab8b63c..0c533bd 100644 --- a/src/php_http_curl.h +++ b/src/php_http_curl.h @@ -17,6 +17,7 @@ #include #define PHP_HTTP_CURL_VERSION(x, y, z) (LIBCURL_VERSION_NUM >= (((x)<<16) + ((y)<<8) + (z))) +#define PHP_HTTP_CURL_FEATURE(f) (curl_version_info(CURLVERSION_NOW)->features & (f)) PHP_MINIT_FUNCTION(http_curl); PHP_MSHUTDOWN_FUNCTION(http_curl);