cvs: pecl /phar util.c
| From: | Marcus Boerger | Date: | Sat, 22 Mar 2008 16:33:33 +0000 |
| Subject: | cvs: pecl /phar util.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10008@lists.php.net to get a copy of this message | ||
helly Sat Mar 22 16:33:33 2008 UTC
Modified files:
/pecl/phar util.c
Log:
- Fix build for PHP < 5.3
http://cvs.php.net/viewvc.cgi/pecl/phar/util.c?r1=1.28&r2=1.29&diff_format=u
Index: pecl/phar/util.c
diff -u pecl/phar/util.c:1.28 pecl/phar/util.c:1.29
--- pecl/phar/util.c:1.28 Fri Mar 21 19:54:06 2008
+++ pecl/phar/util.c Sat Mar 22 16:33:32 2008
@@ -18,9 +18,12 @@
+----------------------------------------------------------------------+
*/
-/* $Id: util.c,v 1.28 2008/03/21 19:54:06 cellog Exp $ */
+/* $Id: util.c,v 1.29 2008/03/22 16:33:32 helly Exp $ */
#include "phar_internal.h"
+#if !defined(PHP_VERSION_ID) || PHP_VERSION_ID < 50300
+extern php_stream_wrapper php_stream_phar_wrapper;
+#endif
/* retrieve a phar_entry_info's current file pointer for reading contents */
php_stream *phar_get_efp(phar_entry_info *entry TSRMLS_DC)