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?
This commit is contained in:
Steph Fox 2008-03-02 00:42:29 +00:00
parent 04aaae3e53
commit 1cdade809b

View file

@ -338,17 +338,12 @@ union _phar_entry_object {
}; };
#endif #endif
#ifndef PHP_WIN32
extern int phar_has_bz2;
extern int phar_has_zlib;
#endif
BEGIN_EXTERN_C() BEGIN_EXTERN_C()
#ifdef PHP_WIN32
int phar_has_bz2; int phar_has_bz2;
int phar_has_zlib; int phar_has_zlib;
#ifdef PHP_WIN32
char *tsrm_strtok_r(char *s, const char *delim, char **last); char *tsrm_strtok_r(char *s, const char *delim, char **last);
static inline void phar_unixify_path_separators(char *path, int path_len) static inline void phar_unixify_path_separators(char *path, int path_len)