regex: tentative fixes for Irix + STLPort configuration.

[SVN r8940]
This commit is contained in:
John Maddock
2001-02-05 12:09:10 +00:00
parent 2f8875124b
commit dd2dbfacbb

View File

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