From 5dfe10a13666c239a49511dda2402e7cd9c78e3b Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 18 Sep 2004 10:32:05 +0000 Subject: [PATCH] Fix for RW STL: undef wchar symbols before use [SVN r25191] --- include/boost/regex/config/cwchar.hpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/include/boost/regex/config/cwchar.hpp b/include/boost/regex/config/cwchar.hpp index 5ca5b0c0..970b0d2e 100644 --- a/include/boost/regex/config/cwchar.hpp +++ b/include/boost/regex/config/cwchar.hpp @@ -23,6 +23,29 @@ #include #include +#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER) +// apparently this is required for the RW STL on Linux: +#undef iswalnum +#undef iswalpha +#undef iswblank +#undef iswcntrl +#undef iswdigit +#undef iswgraph +#undef iswlower +#undef iswprint +#undef iswprint +#undef iswpunct +#undef iswspace +#undef iswupper +#undef iswxdigit +#undef iswctype +#undef towlower +#undef towupper +#undef towctrans +#undef wctrans +#undef wctype +#endif + namespace std{ #ifndef BOOST_NO_STDC_NAMESPACE