diff --git a/include/boost/system/detail/error_category.hpp b/include/boost/system/detail/error_category.hpp index b649ef9..8b5ba51 100644 --- a/include/boost/system/detail/error_category.hpp +++ b/include/boost/system/detail/error_category.hpp @@ -155,9 +155,11 @@ public: } #if defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR) - +# if defined(__SUNPRO_CC) // trailing __global is not supported + operator std::error_category const & () const; +# else operator std::error_category const & () const BOOST_SYMBOL_VISIBLE; - +# endif #endif };