diff --git a/ql/math/integrals/tanhsinhintegral.hpp b/ql/math/integrals/tanhsinhintegral.hpp index 61d915fb74..7d4eafb114 100644 --- a/ql/math/integrals/tanhsinhintegral.hpp +++ b/ql/math/integrals/tanhsinhintegral.hpp @@ -27,7 +27,7 @@ #include #include -#if BOOST_VERSION >= 106900 +#if BOOST_VERSION >= 106900 && (!defined(_MSC_VER) || _MSC_VER < 1940) #define QL_BOOST_HAS_TANH_SINH #include