diff options
author | Wez Furlong <wez@php.net> | 2002-03-16 02:33:00 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2002-03-16 02:33:00 +0000 |
commit | 52982c422e96c1264ce06474fe8ddb504a54d0f0 (patch) | |
tree | c6ece52a461d7106ef93c8cc7136484ceb7fb814 /ext/standard/file.c | |
parent | 59ba0b5172672b1a68b8be745409bf057cbfceac (diff) | |
download | php-git-52982c422e96c1264ce06474fe8ddb504a54d0f0.tar.gz |
This should help with some build problems/warnings under win32.
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know
what I am doing :-).
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r-- | ext/standard/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 593d943a19..88b1798c26 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1284,7 +1284,9 @@ static size_t php_passthru_stream(php_stream *stream TSRMLS_DC) size_t bcount = 0; int ready = 0; char buf[8192]; +#ifdef HAVE_MMAP int fd; +#endif #ifdef HAVE_MMAP if (!php_stream_is(stream, PHP_STREAM_IS_SOCKET) |