summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-25 13:22:54 +0200
committerAnatol Belski <ab@php.net>2015-05-25 18:03:24 +0200
commitd713fcc14df11b81504ec5a4b743242912a31108 (patch)
tree0287d78cdaf597ba25034ff6a5d57d476773c162 /ext/standard/file.c
parentf4c07e7e76182605f17848b6af3b41ee51039dc7 (diff)
downloadphp-git-d713fcc14df11b81504ec5a4b743242912a31108.tar.gz
cleanup redundant S_IFDIR declaration
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 01c043f0ad..1755dab81b 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) \