diff --git a/c10/util/C++17.h b/c10/util/C++17.h index 5dbb3b58b80..f845348c951 100644 --- a/c10/util/C++17.h +++ b/c10/util/C++17.h @@ -40,7 +40,7 @@ make_unique_base(Args&&... args) { -#ifdef __cpp_lib_logical_traits +#if defined(__cpp_lib_logical_traits) && !(defined(_MSC_VER) && _MSC_VER < 1920) template using conjunction = std::conjunction;