From c772ee5e13781fba8b279b8870604caa679fe99d Mon Sep 17 00:00:00 2001 From: Matthew Eding Date: Tue, 7 Feb 2023 12:52:04 -0800 Subject: [PATCH] bugfix MSVC when compiled with /Zc:preprocessor --- include/experimental/__p0009_bits/macros.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/experimental/__p0009_bits/macros.hpp b/include/experimental/__p0009_bits/macros.hpp index 1f237fc7..586964f3 100644 --- a/include/experimental/__p0009_bits/macros.hpp +++ b/include/experimental/__p0009_bits/macros.hpp @@ -121,8 +121,7 @@ /**/ #endif - -#if defined(_MDSPAN_COMPILER_MSVC) +#if defined(_MDSPAN_COMPILER_MSVC) && (!defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL) # define MDSPAN_TEMPLATE_REQUIRES(...) \ MDSPAN_PP_CAT( \ MDSPAN_PP_CAT(MDSPAN_TEMPLATE_REQUIRES_, MDSPAN_PP_COUNT(__VA_ARGS__))\