X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=08b2a4db4009ae7b908fa5bf4552c48e13ee8420;hp=ab53b85de4a8cc9d6517f1352f4d519767ca69b2;hb=46fc12676a53668d55fe6d02d44210e2eaf4b6b5;hpb=1bb903f3aad484c7adf638af3365cb7c668d3281 diff --git a/php_http.h b/php_http.h index ab53b85..08b2a4d 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)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT))) + PHP_FUNCTION(http_test); PHP_FUNCTION(http_date); PHP_FUNCTION(http_build_url);