Should work on all platforms now. (Testing.)

This commit is contained in:
Steph Fox 2008-03-01 22:38:10 +00:00
parent d4cf7e47f6
commit 5c2be9551b

View File

@ -338,12 +338,17 @@ 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)