diff --git a/src/cregex.cpp b/src/cregex.cpp index 02191851..ef259946 100644 --- a/src/cregex.cpp +++ b/src/cregex.cpp @@ -588,6 +588,7 @@ std::string RegEx::What(int i)const return result; } +#ifndef __MINGW32__ #ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION const std::size_t RegEx::npos = ::boost::integer_traits::const_max; #elif defined(BOOST_HAS_LONG_LONG) @@ -595,6 +596,7 @@ const std::size_t RegEx::npos = ~0ULL; #else const std::size_t RegEx::npos = ~0UL; #endif +#endif } // namespace boost diff --git a/test/Jamfile b/test/Jamfile index ab22fd7c..2e29a806 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -48,6 +48,8 @@ template test-dll :