From: Anatol Belski Date: Sat, 4 Apr 2015 18:39:04 +0000 (+0200) Subject: no more winxp, but really X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~392 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69c2e53419f123d3ee9b166fcd15ae1e921d175d;p=php no more winxp, but really --- 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