diff options
| author | Felipe Pena <felipe@php.net> | 2008-03-15 10:28:53 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-03-15 10:28:53 +0000 |
| commit | 27f2d547846aa665f41e8cf0b0d3afe3df4cf99b (patch) | |
| tree | 8f09bb6afa1e105a348d31c9e8caf41aa8640933 | |
| parent | 655610a5bbcc3adc01e8e19aa2da0cfcc6349196 (diff) | |
| download | php-git-27f2d547846aa665f41e8cf0b0d3afe3df4cf99b.tar.gz | |
Fixed bug #44440 (st_blocks undefined under BeOS)
| -rw-r--r-- | main/streams/memory.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/streams/memory.c b/main/streams/memory.c index 1c850e5e1e..442c6b08b8 100644 --- a/main/streams/memory.c +++ b/main/streams/memory.c @@ -234,6 +234,9 @@ static int php_stream_memory_stat(php_stream *stream, php_stream_statbuf *ssb TS #ifndef PHP_WIN32 ssb->sb.st_blksize = -1; +#endif + +#if !defined(PHP_WIN32) && !defined(__BEOS__) ssb->sb.st_blocks = -1; #endif |
