X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_api.h;fp=php_http_api.h;h=5bddb0c42e670a69fe0bdc6049614b97953354f5;hp=0e65ccb6315f3c9483de784e1abd8cd23909449b;hb=c5a2e0f00072f02c1aac569487ccf4f803b89f64;hpb=39456918dd8c443592a2e3fe39f4b1525dc09948 diff --git a/php_http_api.h b/php_http_api.h index 0e65ccb..5bddb0c 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -68,6 +68,10 @@ typedef int STATUS; # endif #endif +#if defined(HAVE_WCHAR_H) && defined(HAVE_WCTYPE_H) && defined(HAVE_ISWALNUM) && (defined(HAVE_MBRTOWC) || defined(HAVE_MBTOWC)) +# define PHP_HTTP_HAVE_WCHAR 1 +#endif + #include #define PHP_HTTP_IS_CTYPE(type, c) is##type((int) (unsigned char) (c)) #define PHP_HTTP_TO_CTYPE(type, c) to##type((int) (unsigned char) (c))