From: Steph Fox Date: Sun, 2 Mar 2008 00:42:29 +0000 (+0000) Subject: Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1... X-Git-Tag: RELEASE_2_0_0a1~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cdade809b04460b08efe9c446f43ca070b9808f;p=php Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1 (Apple Inc. build 5465)). Thanks ScottMac, David C and Philip for testing... Possibly a gcc version issue? --- diff --git a/ext/phar/phar_internal.h b/ext/phar/phar_internal.h index 4a1ed096d4..7cc44b4fc8 100755 --- a/ext/phar/phar_internal.h +++ b/ext/phar/phar_internal.h @@ -338,17 +338,12 @@ 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)