Adjust HAS_CHRONO_ROUNDING macro for MSVC with v140_clang_c2 and LLVM-vs2014

This commit is contained in:
Tullio Menga authored and Howard Hinnant committed 2017-11-20 11:45:04 -05:00
1 parent bd51baf31e
commit f4b12ab023
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1108,7 +1108,7 @@ trunc(const std::chrono::duration<Rep, Period>& d)
}
#ifndef HAS_CHRONO_ROUNDING
# if defined(_MSC_FULL_VER) && _MSC_FULL_VER >= 190023918
# if defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 190023918 || (_MSC_FULL_VER >= 190000000 && defined (__clang__)))
# define HAS_CHRONO_ROUNDING 1
# elif defined(__cpp_lib_chrono) && __cplusplus > 201402 && __cpp_lib_chrono >= 201510
# define HAS_CHRONO_ROUNDING 1