From: Felipe Pena Date: Sat, 15 Mar 2008 10:34:12 +0000 (+0000) Subject: MFB: Fixed bug #44440 (st_blocks undefined under BeOS) X-Git-Tag: RELEASE_2_0_0a1~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af9b1c33763fdf5f322bd6d97939635d06370911;p=php MFB: Fixed bug #44440 (st_blocks undefined under BeOS) --- diff --git a/main/streams/memory.c b/main/streams/memory.c index 769e14f043..92d47b87af 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