diff --git a/include/boost/config/stdlib/sgi.hpp b/include/boost/config/stdlib/sgi.hpp index 37c1e0c5..430092f8 100644 --- a/include/boost/config/stdlib/sgi.hpp +++ b/include/boost/config/stdlib/sgi.hpp @@ -41,6 +41,13 @@ # define BOOST_NO_STD_LOCALE #endif +// +// Original native SGI streams have non-standard std::messages facet: +// +#if defined(__sgi) && !defined(__SGI_STL_OWN_IOSTREAMS) +# define BOOST_NO_STD_LOCALE +#endif + // // No template iterator constructors, or std::allocator // without member templates: