[test][util] replace compile time check that uses __cplusplus

with BOOST_NO_LONG_LONG
This commit is contained in:
Menelaos Karavelas 2014-06-16 14:27:52 +03:00
parent 76b13c42bc
commit c48fd6f903

View File

@ -118,7 +118,7 @@ BOOST_AUTO_TEST_CASE( test_math_sqrt_fundamental )
check_sqrt<short, double>::apply(2, sqrt2);
check_sqrt<int, double>::apply(2, sqrt2);
check_sqrt<long, double>::apply(2L, sqrt2);
#if ( __cplusplus >= 201103L )
#if !defined(BOOST_NO_LONG_LONG)
check_sqrt<long long, double>::apply(2LL, sqrt2);
#endif
check_sqrt<boost::long_long_type, double>::apply(2LL, sqrt2);