X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_querystring_api.c;h=03fe7266618b554145dba6a5004a7484d115edc0;hp=b367c20420e0e59ebf0561a0932d96520e07c5ce;hb=46fc12676a53668d55fe6d02d44210e2eaf4b6b5;hpb=eec11ec92f122dbd2d02aba54a3685023cdbfcc7 diff --git a/http_querystring_api.c b/http_querystring_api.c index b367c20..03fe726 100644 --- a/http_querystring_api.c +++ b/http_querystring_api.c @@ -16,7 +16,7 @@ #include "php_http.h" #include "php_variables.h" -#ifdef HAVE_ICONV && !HTTP_SHARED_EXT(ICONV) +#if HTTP_HAVE_EXT(ICONV) # undef PHP_ATOM_INC # include "ext/iconv/php_iconv.h" # include "ext/standard/url.h" @@ -38,7 +38,7 @@ static inline int _http_querystring_modify_array_ex(zval *qarray, int key_type, static inline int _http_querystring_modify_array(zval *qarray, zval *params TSRMLS_DC); -#ifdef HAVE_ICONV && !HTTP_SHARED_EXT(ICONV) +#if HTTP_HAVE_EXT(ICONV) PHP_HTTP_API int _http_querystring_xlate(zval *array, zval *param, const char *ie, const char *oe TSRMLS_DC) { HashPosition pos;