From: Steph Fox Date: Sat, 1 Mar 2008 22:38:10 +0000 (+0000) Subject: Should work on all platforms now. (Testing.) X-Git-Tag: RELEASE_2_0_0a1~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c2be9551b2ad0a5246bdf7199df2126109074a8;p=php Should work on all platforms now. (Testing.) --- diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h index 7cc44b4fc8..4a1ed096d4 100755 --- a/ext/phar/phar_internal.h +++ b/ext/phar/phar_internal.h @@ -338,12 +338,17 @@ union _phar_entry_object { }; #endif +#ifndef PHP_WIN32 +extern int phar_has_bz2; +extern int phar_has_zlib; +#endif + BEGIN_EXTERN_C() +#ifdef PHP_WIN32 int phar_has_bz2; int phar_has_zlib; -#ifdef PHP_WIN32 char *tsrm_strtok_r(char *s, const char *delim, char **last); static inline void phar_unixify_path_separators(char *path, int path_len)