diff --git a/include/boost/python/detail/string_literal.hpp b/include/boost/python/detail/string_literal.hpp index ddafa401..dc8b0791 100644 --- a/include/boost/python/detail/string_literal.hpp +++ b/include/boost/python/detail/string_literal.hpp @@ -27,7 +27,8 @@ struct is_string_literal BOOST_STATIC_CONSTANT(bool, value = true); }; -# if defined(__DECCXX_VER) && __DECCXX_VER <= 60590014 +# if (defined(__DECCXX_VER) && __DECCXX_VER <= 60590014) \ + || (defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730) // This compiler mistakenly gets the type of string literals as char* // instead of char[NN]. template <>