OpenBSD fixes

[SVN r16990]
This commit is contained in:
John Maddock
2003-01-22 12:38:54 +00:00
parent 5705d52e84
commit 251099c828
2 changed files with 7 additions and 1 deletions

View File

@ -1266,6 +1266,10 @@ unsigned int BOOST_REGEX_CALL reg_expression<charT, traits, Allocator>::set_expr
# ifdef BOOST_MSVC
# pragma warning(push)
# pragma warning(disable: 4127)
#endif
#ifdef __OpenBSD__
// strxfrm not working on OpenBSD??
f |= regbase::nocollate;
#endif
if(p == expression())
@ -2110,3 +2114,4 @@ void BOOST_REGEX_CALL reg_expression<charT, traits, Allocator>::fail(unsigned in