mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 06:12:10 +02:00
Fix for RW STL: undef wchar symbols before use
[SVN r25191]
This commit is contained in:
@ -23,6 +23,29 @@
|
|||||||
#include <cwctype>
|
#include <cwctype>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#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{
|
namespace std{
|
||||||
|
|
||||||
#ifndef BOOST_NO_STDC_NAMESPACE
|
#ifndef BOOST_NO_STDC_NAMESPACE
|
||||||
|
Reference in New Issue
Block a user