diff options
-rw-r--r-- | main/streams/plain_wrapper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index ff4241b563..bbd8cfbb51 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -1040,10 +1040,8 @@ static int php_plain_files_url_stater(php_stream_wrapper *wrapper, const char *u } #ifdef PHP_WIN32 - if (EG(windows_version_info).dwMajorVersion >= 5) { - if (flags & PHP_STREAM_URL_STAT_LINK) { - return VCWD_LSTAT(url, &ssb->sb); - } + if (flags & PHP_STREAM_URL_STAT_LINK) { + return VCWD_LSTAT(url, &ssb->sb); } #else # ifdef HAVE_SYMLINK |