]> granicus.if.org Git - php/commitdiff
Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1...
authorSteph Fox <sfox@php.net>
Sun, 2 Mar 2008 00:42:29 +0000 (00:42 +0000)
committerSteph Fox <sfox@php.net>
Sun, 2 Mar 2008 00:42:29 +0000 (00:42 +0000)
Possibly a gcc version issue?

ext/phar/phar_internal.h

index 4a1ed096d407cc9d7743a3038f4e4626b07629f3..7cc44b4fc88ca0fdd5d1928b838979188298769b 100755 (executable)
@@ -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)