summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/filestat.c3
-rw-r--r--ext/standard/php_filestat.h2
3 files changed, 0 insertions, 7 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 3809dc145b..4481a2f42f 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -747,9 +747,7 @@ function_entry basic_functions[] = {
PHP_FE(is_writable, NULL)
PHP_FALIAS(is_writeable, is_writable, NULL)
PHP_FE(is_readable, NULL)
-#ifndef PHP_WIN32
PHP_FE(is_executable, NULL)
-#endif
PHP_FE(is_file, NULL)
PHP_FE(is_dir, NULL)
PHP_FE(is_link, NULL)
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);
diff --git a/ext/standard/php_filestat.h b/ext/standard/php_filestat.h
index 7760148694..39d08ecfc7 100644
--- a/ext/standard/php_filestat.h
+++ b/ext/standard/php_filestat.h
@@ -36,9 +36,7 @@ PHP_FUNCTION(filesize);
PHP_FUNCTION(filetype);
PHP_FUNCTION(is_writable);
PHP_FUNCTION(is_readable);
-#ifndef PHP_WIN32
PHP_FUNCTION(is_executable);
-#endif
PHP_FUNCTION(is_file);
PHP_FUNCTION(is_dir);
PHP_FUNCTION(is_link);