X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=62ae4747c148ed376b8c3ef1fd5d19544478da16;hp=d16652d625bc19a3a13eedc0bff8ba166a3d8fdd;hb=46ef6bdcdea32310a17dc95eadb14936125dcb51;hpb=add8166df3235a7680703eddc36edee7dcc20b20 diff --git a/php_http.h b/php_http.h index d16652d..62ae474 100644 --- a/php_http.h +++ b/php_http.h @@ -18,7 +18,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define HTTP_PEXT_VERSION "0.7.0-dev" +#define HTTP_PEXT_VERSION "0.7.0" /* make compile on Win32 */ #include "php_streams.h" @@ -206,6 +206,9 @@ ZEND_BEGIN_MODULE_GLOBALS(http) char *allowed_methods; #ifdef HTTP_HAVE_CURL phpstr curlbuf; +# if LIBCURL_VERSION_NUM < 0x070c00 + char curlerr[CURL_ERROR_SIZE + 1]; +# endif zend_llist to_free; #endif /* HTTP_HAVE_CURL */ ZEND_END_MODULE_GLOBALS(http)