hirokawa Sun Aug 12 02:00:03 2007 UTC
Modified files:
/php-src/ext/standard file.c
Log:
MF PHP_5_2
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.496&r2=1.497&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.496 php-src/ext/standard/file.c:1.497
--- php-src/ext/standard/file.c:1.496 Fri Aug 10 08:58:12 2007
+++ php-src/ext/standard/file.c Sun Aug 12 02:00:03 2007
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.496 2007/08/10 08:58:12 tony2001 Exp $ */
+/* $Id: file.c,v 1.497 2007/08/12 02:00:03 hirokawa Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -126,6 +126,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