2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-02-01 08:12:07 +00:00

Added check for BOOST_NO_ALIGNMENT for float128 tests.

Atomic storage can be implemented without int128 support but when
explicit alignment specification is supported.
This commit is contained in:
Andrey Semashev
2019-10-13 01:24:53 +03:00
parent 56bd60673a
commit e8ccfce2dc
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ int main(int, char *[])
test_floating_point_api<float>();
test_floating_point_api<double>();
test_floating_point_api<long double>();
#if defined(BOOST_HAS_INT128) && defined(BOOST_HAS_FLOAT128)
#if (defined(BOOST_HAS_INT128) || !defined(BOOST_NO_ALIGNMENT)) && defined(BOOST_HAS_FLOAT128)
test_floating_point_api<boost::float128_type>();
#endif
#endif