]> granicus.if.org Git - php/commitdiff
cleanup redundant S_IFDIR declaration
authorAnatol Belski <ab@php.net>
Mon, 25 May 2015 11:22:54 +0000 (13:22 +0200)
committerAnatol Belski <ab@php.net>
Mon, 25 May 2015 16:03:24 +0000 (18:03 +0200)
ext/standard/file.c

index 01c043f0ad5ac58838adc6ca0ada614848514b38..1755dab81b7f8c40cf2fc571ac032e0624bf1e43 100644 (file)
@@ -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) \