From 09706b72ff4dbc26d30500b0dc0459665b686191 Mon Sep 17 00:00:00 2001 From: Tobias Leibner <7058290+tobiasleibner@users.noreply.github.com> Date: Mon, 15 Sep 2025 14:03:27 +0200 Subject: [PATCH] Fix duplicate definitions with clang-cl --- include/boost/type_traits/type_with_alignment.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/type_traits/type_with_alignment.hpp b/include/boost/type_traits/type_with_alignment.hpp index e4860f9fd3..5aff070e8c 100644 --- a/include/boost/type_traits/type_with_alignment.hpp +++ b/include/boost/type_traits/type_with_alignment.hpp @@ -111,8 +111,7 @@ template<> struct is_pod< ::boost::tt_align_ns::a32> : public true_type{}; template<> struct is_pod< ::boost::tt_align_ns::a64> : public true_type{}; template<> struct is_pod< ::boost::tt_align_ns::a128> : public true_type{}; -#endif -#if (defined(BOOST_MSVC) || (defined(BOOST_INTEL) && defined(_MSC_VER))) && !defined(BOOST_TT_DISABLE_INTRINSICS) +#elif (defined(BOOST_MSVC) || (defined(BOOST_INTEL) && defined(_MSC_VER))) && !defined(BOOST_TT_DISABLE_INTRINSICS) // // MSVC supports types which have alignments greater than the normal // maximum: these are used for example in the types __m64 and __m128