diff --git a/test/util/math_sqrt.cpp b/test/util/math_sqrt.cpp index b76e1f5f1..7ce9781e6 100644 --- a/test/util/math_sqrt.cpp +++ b/test/util/math_sqrt.cpp @@ -118,10 +118,13 @@ BOOST_AUTO_TEST_CASE( test_math_sqrt_fundamental ) check_sqrt::apply(2, sqrt2); check_sqrt::apply(2, sqrt2); check_sqrt::apply(2L, sqrt2); -#if ( __cplusplus >= 201103L ) +#if !defined(BOOST_NO_LONG_LONG) check_sqrt::apply(2LL, sqrt2); #endif - check_sqrt::apply(2LL, sqrt2); + check_sqrt + < + boost::long_long_type, double + >::apply(boost::long_long_type(2), sqrt2); }