]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/atomic/test/fallback_api.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / atomic / test / fallback_api.cpp
index c7fd76e1948d400e3cc3682262d273bc613adaf8..e2ec5748d48168e80582a1138ff343991551435a 100644 (file)
@@ -40,11 +40,13 @@ int main(int, char *[])
     test_integral_api<boost::uint128_type>();
 #endif
 
+#if !defined(BOOST_ATOMIC_NO_FLOATING_POINT)
     test_floating_point_api<float>();
     test_floating_point_api<double>();
     test_floating_point_api<long double>();
-#if 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
 
     test_pointer_api<int>();