diff --git a/include/boost/re_detail/regex_config.hpp b/include/boost/re_detail/regex_config.hpp index b4adf575..231bc0fd 100644 --- a/include/boost/re_detail/regex_config.hpp +++ b/include/boost/re_detail/regex_config.hpp @@ -338,6 +338,13 @@ Do not change this file unless you really really have to, add options to #ifdef __sgi // SGI IRIX C++ #define BOOST_RE_NO_SWPRINTF +#if defined(__SGI_STL_PORT) && (__SGI_STL_PORT <= 0x400) +// STLPort on IRIX is misconfigured: does not compile +// as a temporary fix include instead and prevent inclusion +// of STLPort version of +#include +#define __STLPORT_CWCTYPE +#endif #endif @@ -1196,7 +1203,7 @@ namespace std{ using ::wcsxfrm; using ::wcstombs; using ::mbstowcs; -#ifndef BOOST_RE_NO_LOCALE_H +#if !defined(BOOST_RE_NO_LOCALE_H) && !defined (__STL_NO_NATIVE_MBSTATE_T) using ::mbstate_t; #endif using ::fseek;