summaryrefslogtreecommitdiff
path: root/ext/phar
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-10-19 22:16:31 +0800
committerXinchen Hui <laruence@php.net>2013-10-19 22:16:31 +0800
commit4d7d85640dd8e48166e4fd5dbf04aeb18a9e01c4 (patch)
tree38940c516c6dc4a0528e659874ea0b1c683fb52b /ext/phar
parent55b16f40a2db6de9f5de08d284b1c37149e25a49 (diff)
downloadphp-git-4d7d85640dd8e48166e4fd5dbf04aeb18a9e01c4.tar.gz
Need a way to check whether this API exists
Diffstat (limited to 'ext/phar')
-rw-r--r--ext/phar/php_phar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/phar/php_phar.h b/ext/phar/php_phar.h
index f8325d0c63..38ace455b9 100644
--- a/ext/phar/php_phar.h
+++ b/ext/phar/php_phar.h
@@ -34,6 +34,7 @@ extern zend_module_entry phar_module_entry;
#define PHP_PHAR_API PHPAPI
#endif
+#define PHP_PHAR_HAS_RESLOVE_ALIAS
PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len TSRMLS_DC);
#endif /* PHP_PHAR_H */