]> granicus.if.org Git - php/commitdiff
Should work on all platforms now. (Testing.)
authorSteph Fox <sfox@php.net>
Sat, 1 Mar 2008 22:38:10 +0000 (22:38 +0000)
committerSteph Fox <sfox@php.net>
Sat, 1 Mar 2008 22:38:10 +0000 (22:38 +0000)
ext/phar/phar_internal.h

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