From 487ed3cb421ce4cd38716055cb8590bca594a09a Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 22 Feb 2015 18:44:18 +0000 Subject: [PATCH] Tentative fix for solaris/oracle compiler issue https://svn.boost.org/trac/boost/ticket/10925 --- include/boost/math/cstdfloat/cstdfloat_types.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/math/cstdfloat/cstdfloat_types.hpp b/include/boost/math/cstdfloat/cstdfloat_types.hpp index 3ffcce21d..630c7534c 100644 --- a/include/boost/math/cstdfloat/cstdfloat_types.hpp +++ b/include/boost/math/cstdfloat/cstdfloat_types.hpp @@ -356,6 +356,13 @@ #undef BOOST_CSTDFLOAT_FLOAT_32_MAX #endif +#if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) && defined(__SUNPRO_CC) +#undef BOOST_CSTDFLOAT_HAS_FLOAT80_NATIVE_TYPE +#define BOOST_CSTDFLOAT_HAS_FLOAT80_NATIVE_TYPE 0 +#undef BOOST_CSTDFLOAT_HAS_FLOAT128_NATIVE_TYPE +#define BOOST_CSTDFLOAT_HAS_FLOAT128_NATIVE_TYPE 0 +#endif + #if(BOOST_CSTDFLOAT_HAS_FLOAT64_NATIVE_TYPE == 1) typedef BOOST_CSTDFLOAT_FLOAT64_NATIVE_TYPE float64_t; typedef boost::float64_t float_fast64_t;