summaryrefslogtreecommitdiff
path: root/ext/standard/filestat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/filestat.c')
-rw-r--r--ext/standard/filestat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 349e4222d8..f7ab3af0d3 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -572,8 +572,6 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ
RETURN_FALSE;
}
-#ifndef PHP_WIN32
-
switch (type) {
case FS_IS_W:
RETURN_BOOL (!VCWD_ACCESS(filename, W_OK));
@@ -584,7 +582,6 @@ static void php_stat(const char *filename, php_stat_len filename_length, int typ
case FS_EXISTS:
RETURN_BOOL (!VCWD_ACCESS(filename, F_OK));
}
-#endif
stat_sb = &BG(sb);