summaryrefslogtreecommitdiff
path: root/main/streams/plain_wrapper.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-04-04 20:39:04 +0200
committerAnatol Belski <ab@php.net>2015-04-04 20:39:04 +0200
commit69c2e53419f123d3ee9b166fcd15ae1e921d175d (patch)
treef3069321c450bcd5fd3b2d2adbdad78b649b34b8 /main/streams/plain_wrapper.c
parentf51a9c71dd011f7d6879b326280adc05ae45f7f7 (diff)
downloadphp-git-69c2e53419f123d3ee9b166fcd15ae1e921d175d.tar.gz
no more winxp, but really
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r--main/streams/plain_wrapper.c6
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