X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_api.h;h=5bddb0c42e670a69fe0bdc6049614b97953354f5;hp=091fd6590f8243fd0fe6d70c800f3a986c9c7b1f;hb=2cd40b03b9948a7d604ba01b968b3f047d10754d;hpb=6076d966844330e8bb12a7c19a57242ca3c0a9a8 diff --git a/php_http_api.h b/php_http_api.h index 091fd65..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)) @@ -108,9 +112,6 @@ typedef int STATUS; ZEND_BEGIN_MODULE_GLOBALS(php_http) struct php_http_env_globals env; -#if PHP_HTTP_HAVE_CURL && PHP_HTTP_HAVE_EVENT - struct php_http_curl_globals curl; -#endif ZEND_END_MODULE_GLOBALS(php_http) ZEND_EXTERN_MODULE_GLOBALS(php_http);