Made config header C compatible.

Added mingw dll specific fix.


[SVN r25269]
This commit is contained in:
John Maddock
2004-09-20 12:28:37 +00:00
parent 8e60fd2cb7
commit 138d526839
2 changed files with 32 additions and 29 deletions

View File

@ -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;