com php-src: cleanup redundant S_IFDIR declaration: ext /standard/file.c
| From: | Anatol Belski | Date: | Mon, 25 May 2015 16:03:24 +0000 |
| Subject: | com php-src: cleanup redundant S_IFDIR declaration: ext /standard/file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86907@lists.php.net to get a copy of this message | ||
Commit: d713fcc14df11b81504ec5a4b743242912a31108
Author: Anatol Belski <ab@php.net> Mon, 25 May 2015 13:22:54 +0200
Parents: f4c07e7e76182605f17848b6af3b41ee51039dc7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d713fcc14df11b81504ec5a4b743242912a31108
Log:
cleanup redundant S_IFDIR declaration
Changed paths:
M ext/standard/file.c
Diff:
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 01c043f..1755dab 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -122,9 +122,6 @@ php_file_globals file_globals;
# include <wchar.h>
#endif
-#ifndef S_ISDIR
-# define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR)
-#endif
/* }}} */
#define PHP_STREAM_TO_ZVAL(stream, arg) \