diff options
| author | Greg Beaver <cellog@php.net> | 2009-07-26 02:18:50 +0000 |
|---|---|---|
| committer | Greg Beaver <cellog@php.net> | 2009-07-26 02:18:50 +0000 |
| commit | 96dd763df469521eddff00259d3fbaae7faa369b (patch) | |
| tree | 108f709309dda08c564bf9d2259c3d314d311076 /ext/phar/phar_object.c | |
| parent | a37d7529bace78c2ceee2271c0b35f60a8bad1be (diff) | |
| download | php-git-96dd763df469521eddff00259d3fbaae7faa369b.tar.gz | |
fix generation of phar.phar in php 6, fix remaining tests broken by PHP 6 (and not by spl/other stuff in php6)
Diffstat (limited to 'ext/phar/phar_object.c')
| -rwxr-xr-x | ext/phar/phar_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index e908ad1d81..d7beb43de3 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -990,7 +990,9 @@ unicode_found: } } +#if PHP_MAJOR_VERSION >= 6 notfound: +#endif if (!mime_type) { code = phar_file_type(&PHAR_G(mime_types), entry, &mime_type TSRMLS_CC); } |
