From dd2dbfacbb39ff1b5cbb7acef1bf880ff48cb3c0 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 5 Feb 2001 12:09:10 +0000 Subject: [PATCH] regex: tentative fixes for Irix + STLPort configuration. [SVN r8940] --- include/boost/re_detail/regex_config.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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;