diff --git a/test/fallback_api.cpp b/test/fallback_api.cpp index 2f3788d..e2ec574 100644 --- a/test/fallback_api.cpp +++ b/test/fallback_api.cpp @@ -44,7 +44,7 @@ int main(int, char *[]) test_floating_point_api(); test_floating_point_api(); test_floating_point_api(); -#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(); #endif #endif diff --git a/test/native_api.cpp b/test/native_api.cpp index d2bcbf3..faefc24 100644 --- a/test/native_api.cpp +++ b/test/native_api.cpp @@ -49,7 +49,7 @@ int main(int, char *[]) test_floating_point_api(); test_floating_point_api(); test_floating_point_api(); -#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(); #endif #endif