diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 5022bbde..1b9e746d 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -195,7 +195,7 @@ using std::distance; ****************************************************************************/ #ifdef __cplusplus -#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1300) && !defined(BOOST_REGEX_V3) +#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1300) && !defined(BOOST_REGEX_V3) && !(defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) # define BOOST_REGEX_HAS_SHORT_WCHAR_T namespace boost{ typedef __wchar_t regex_wchar_type; } #else