iliaa Mon Oct 28 07:37:31 2002 EDT Modified files: /php4/main streams.c Log: Fix win32 build. Index: php4/main/streams.c diff -u php4/main/streams.c:1.121 php4/main/streams.c:1.122 --- php4/main/streams.c:1.121 Sun Oct 27 22:45:21 2002 +++ php4/main/streams.c Mon Oct 28 07:37:31 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streams.c,v 1.121 2002/10/28 03:45:21 iliaa Exp $ */ +/* $Id: streams.c,v 1.122 2002/10/28 12:37:31 iliaa Exp $ */ #define _GNU_SOURCE #include "php.h" @@ -1638,6 +1638,10 @@ } /* }}} */ + +#ifndef S_ISREG +#define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) +#endif /* {{{ php_stream_fopen */ PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php