projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* more modular file structure
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index d16652d625bc19a3a13eedc0bff8ba166a3d8fdd..62ae4747c148ed376b8c3ef1fd5d19544478da16 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-18,7
+18,7
@@
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
#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"
/* 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;
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)
zend_llist to_free;
#endif /* HTTP_HAVE_CURL */
ZEND_END_MODULE_GLOBALS(http)