projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- allow to avoid deps on shared extensions on build time
[m6w6/ext-http]
/
php_http.h
diff --git
a/php_http.h
b/php_http.h
index ab53b85de4a8cc9d6517f1352f4d519767ca69b2..f3574d322245aacf9252fb31cfcd58fd984365de 100644
(file)
--- a/
php_http.h
+++ b/
php_http.h
@@
-144,6
+144,8
@@
ZEND_EXTERN_MODULE_GLOBALS(http);
# define HTTP_G (&http_globals)
#endif
+#define HTTP_SHARED_EXT(EXT) (COMPILE_DL_##EXT && !HTTP_SHARED_DEPS)
+
PHP_FUNCTION(http_test);
PHP_FUNCTION(http_date);
PHP_FUNCTION(http_build_url);