com php-src: Need a way to check whether this API exists: ext/phar/php_phar.h
| From: | Xinchen Hui | Date: | Sat, 19 Oct 2013 14:16:31 +0000 |
| Subject: | com php-src: Need a way to check whether this API exists: ext/phar/php_phar.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73712@lists.php.net to get a copy of this message | ||
Commit: 4d7d85640dd8e48166e4fd5dbf04aeb18a9e01c4
Author: Xinchen Hui <laruence@php.net> Sat, 19 Oct 2013 22:16:31 +0800
Parents: 55b16f40a2db6de9f5de08d284b1c37149e25a49
Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4d7d85640dd8e48166e4fd5dbf04aeb18a9e01c4
Log:
Need a way to check whether this API exists
Changed paths:
M ext/phar/php_phar.h
Diff:
diff --git a/ext/phar/php_phar.h b/ext/phar/php_phar.h
index f8325d0..38ace45 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 */