From f31a06e5de808650af1d943596a341d840fb7fc7 Mon Sep 17 00:00:00 2001 From: Moritz Baumann Date: Thu, 18 Dec 2025 15:28:25 +0100 Subject: [PATCH] Only include if it exists Co-authored-by: Matt Borland --- include/boost/math/tools/config.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/math/tools/config.hpp b/include/boost/math/tools/config.hpp index b9c2611dc..4829ebe36 100644 --- a/include/boost/math/tools/config.hpp +++ b/include/boost/math/tools/config.hpp @@ -84,7 +84,9 @@ #else // Things from boost/config that are required, and easy to replicate +#if __has_include() #include +#endif #define BOOST_MATH_PREVENT_MACRO_SUBSTITUTION #define BOOST_MATH_NO_REAL_CONCEPT_TESTS