mirror of
https://github.com/boostorg/regex.git
synced 2025-07-21 16:22:43 +02:00
OpenBSD fixes
[SVN r16990]
This commit is contained in:
@ -165,7 +165,7 @@
|
|||||||
|
|
||||||
// We don't make our templates external if the compiler
|
// We don't make our templates external if the compiler
|
||||||
// can't handle it:
|
// can't handle it:
|
||||||
#if (defined(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS) || defined(__MWERKS__) || defined(__COMO__) || defined(__ICL) || defined(__ICC))\
|
#if (defined(BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS) || defined(__HP_aCC) || defined(__MWERKS__) || defined(__COMO__) || defined(__ICL) || defined(__ICC))\
|
||||||
&& !defined(BOOST_MSVC) && !defined(__BORLANDC__)
|
&& !defined(BOOST_MSVC) && !defined(__BORLANDC__)
|
||||||
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
# define BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
||||||
#endif
|
#endif
|
||||||
@ -644,3 +644,4 @@ inline void pointer_construct(T* p, const T& t)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1266,6 +1266,10 @@ unsigned int BOOST_REGEX_CALL reg_expression<charT, traits, Allocator>::set_expr
|
|||||||
# ifdef BOOST_MSVC
|
# ifdef BOOST_MSVC
|
||||||
# pragma warning(push)
|
# pragma warning(push)
|
||||||
# pragma warning(disable: 4127)
|
# pragma warning(disable: 4127)
|
||||||
|
#endif
|
||||||
|
#ifdef __OpenBSD__
|
||||||
|
// strxfrm not working on OpenBSD??
|
||||||
|
f |= regbase::nocollate;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(p == expression())
|
if(p == expression())
|
||||||
@ -2110,3 +2114,4 @@ void BOOST_REGEX_CALL reg_expression<charT, traits, Allocator>::fail(unsigned in
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user