Merge branch 'master' of git.php.net:/pecl/http/pecl_http
[m6w6/ext-http] / php_http_api.h
index 0e65ccb6315f3c9483de784e1abd8cd23909449b..5bddb0c42e670a69fe0bdc6049614b97953354f5 100644 (file)
@@ -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 <ctype.h>
 #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))