X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=ea3cb3c76b5a231760fa6b44e3505558df63421e;hb=fb5d0ef47f1f54dad0efa1f091324e3d7d18050b;hp=ab53b85de4a8cc9d6517f1352f4d519767ca69b2;hpb=1bb903f3aad484c7adf638af3365cb7c668d3281;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index ab53b85..ea3cb3c 100644 --- a/php_http.h +++ b/php_http.h @@ -144,6 +144,8 @@ ZEND_EXTERN_MODULE_GLOBALS(http); # define HTTP_G (&http_globals) #endif +#define HTTP_HAVE_EXT(EXT) ((defined(HAVE_##EXT) || defined(HAVE_PHP_##EXT) || defined(HAVE_##EXT##_EXT)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT))) + PHP_FUNCTION(http_test); PHP_FUNCTION(http_date); PHP_FUNCTION(http_build_url);