mirror of
https://github.com/boostorg/regex.git
synced 2025-07-23 00:57:19 +02:00
Made config header C compatible.
Added mingw dll specific fix. [SVN r25269]
This commit is contained in:
@ -252,8 +252,11 @@ public:
|
||||
std::string What(int i = 0)const;
|
||||
std::string operator[](int i)const { return What(i); }
|
||||
|
||||
#ifdef __MINGW32__
|
||||
static const std::size_t npos = ~0u;
|
||||
#else
|
||||
static const std::size_t npos;
|
||||
|
||||
#endif
|
||||
friend struct re_detail::pred1;
|
||||
friend struct re_detail::pred2;
|
||||
friend struct re_detail::pred3;
|
||||
|
Reference in New Issue
Block a user