hirokawa Sat Aug 11 04:35:00 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/standard file.c Log: fixed compilation error: S_ISDIR is undefined. http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.409.2.6.2.24&r2=1.409.2.6.2.25&diff_format=u Index: php-src/ext/standard/file.c diff -u php-src/ext/standard/file.c:1.409.2.6.2.24 php-src/ext/standard/file.c:1.409.2.6.2.25 --- php-src/ext/standard/file.c:1.409.2.6.2.24 Fri Aug 10 08:58:44 2007 +++ php-src/ext/standard/file.c Sat Aug 11 04:34:59 2007 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.409.2.6.2.24 2007/08/10 08:58:44 tony2001 Exp $ */ +/* $Id: file.c,v 1.409.2.6.2.25 2007/08/11 04:34:59 hirokawa Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -127,6 +127,9 @@ #include <wchar.h> #endif +#ifndef S_ISDIR +#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) +#endif /* }}} */ #define PHP_STREAM_TO_ZVAL(stream, arg) \
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php