diff options
| author | Andrea Faulds <ajf@ajf.me> | 2014-12-05 13:41:38 +0000 |
|---|---|---|
| committer | Andrea Faulds <ajf@ajf.me> | 2014-12-05 19:46:31 +0000 |
| commit | 8a065c554be63154125ef2bdd33e350d17a3f26f (patch) | |
| tree | 664da78135d718a55dce28370a9c1de86a8aace9 /ext/zip/zip_stream.c | |
| parent | 8efe3433521294d14918a1ad1448fd830318e02a (diff) | |
| download | php-git-8a065c554be63154125ef2bdd33e350d17a3f26f.tar.gz | |
Restored zip/oci8 PHP 4 code, add PHP 7 checks
Diffstat (limited to 'ext/zip/zip_stream.c')
| -rw-r--r-- | ext/zip/zip_stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zip/zip_stream.c b/ext/zip/zip_stream.c index eb264ace95..f2537e49c3 100644 --- a/ext/zip/zip_stream.c +++ b/ext/zip/zip_stream.c @@ -22,6 +22,7 @@ #endif #include "php.h" #if HAVE_ZIP +#if defined(ZEND_ENGINE_2) || defined(ZEND_ENGINE_3) #include "php_streams.h" #include "ext/standard/file.h" @@ -347,4 +348,5 @@ php_stream_wrapper php_stream_zip_wrapper = { NULL, 0 /* is_url */ }; +#endif /* defined(ZEND_ENGINE_2) || defined(ZEND_ENGINE_3) */ #endif /* HAVE_ZIP */ |
