Update check for VS2015

This commit is contained in:
Griffin Downs 2019-03-12 16:46:40 -07:00
parent 1c879a4b92
commit 61922f919f

View File

@ -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;