mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 05:24:02 +00:00
[test][util] replace compile time check that uses __cplusplus
with BOOST_NO_LONG_LONG
This commit is contained in:
parent
76b13c42bc
commit
c48fd6f903
@ -118,7 +118,7 @@ BOOST_AUTO_TEST_CASE( test_math_sqrt_fundamental )
|
|||||||
check_sqrt<short, double>::apply(2, sqrt2);
|
check_sqrt<short, double>::apply(2, sqrt2);
|
||||||
check_sqrt<int, double>::apply(2, sqrt2);
|
check_sqrt<int, double>::apply(2, sqrt2);
|
||||||
check_sqrt<long, double>::apply(2L, 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);
|
check_sqrt<long long, double>::apply(2LL, sqrt2);
|
||||||
#endif
|
#endif
|
||||||
check_sqrt<boost::long_long_type, double>::apply(2LL, sqrt2);
|
check_sqrt<boost::long_long_type, double>::apply(2LL, sqrt2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user