diff options
| author | Griffin Downs <grdowns@microsoft.com> | 2019-03-12 16:46:40 -0700 |
|---|---|---|
| committer | Griffin Downs <grdowns@microsoft.com> | 2019-03-12 16:46:40 -0700 |
| commit | 61922f919fca03ebd554a0ab9a26dffead947250 (patch) | |
| tree | 638c68f4ea2d7da6590cc46e420ba738db648474 | |
| parent | 1c879a4b929edcbdffd664277fcea74f74fd3aeb (diff) | |
| download | vcpkg-61922f919fca03ebd554a0ab9a26dffead947250.tar.gz vcpkg-61922f919fca03ebd554a0ab9a26dffead947250.zip | |
Update check for VS2015
| -rw-r--r-- | toolsrc/include/vcpkg/base/files.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h index 3fdcdaf7b..b24778308 100644 --- a/toolsrc/include/vcpkg/base/files.h +++ b/toolsrc/include/vcpkg/base/files.h @@ -10,7 +10,8 @@ namespace fs { -#if defined(_WIN32) || defined(__cpp_lib_filesystem) +// VS2015 (_MSC_VER 1900) uses std::experimental::filesystem +#if (defined(_MSC_VER) && _MSC_VER > 1900) || defined(__cpp_lib_filesystem) namespace stdfs = std::filesystem; #else namespace stdfs = std::experimental::filesystem; |
