From 7104418bd5aeee489a97096ea81264426756b53a Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 30 Nov 2001 11:58:04 +0000 Subject: [PATCH] * Changed BOOST_RE_THREADS to BOOST_HAS_THREADS, * Updated allocator code to use SGI node based allocator when available. [SVN r11829] --- include/boost/regex/detail/regex_synch.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/regex/detail/regex_synch.hpp b/include/boost/regex/detail/regex_synch.hpp index 3be579fa..157f595b 100644 --- a/include/boost/regex/detail/regex_synch.hpp +++ b/include/boost/regex/detail/regex_synch.hpp @@ -189,13 +189,13 @@ typedef lock_guard cs_guard; BOOST_REGEX_DECL extern critical_section* p_re_lock; BOOST_REGEX_DECL extern unsigned int re_lock_count; -#define BOOST_RE_GUARD(inst) boost::re_detail::critical_section::rw_guard g(inst); +#define BOOST_REGEX_GUARD(inst) boost::re_detail::critical_section::rw_guard g(inst); -#else // BOOST_RE_THREADS +#else // BOOST_HAS_THREADS -#define BOOST_RE_GUARD(inst) +#define BOOST_REGEX_GUARD(inst) -#endif // BOOST_RE_THREADS +#endif // BOOST_HAS_THREADS #ifdef __BORLANDC__ #pragma option pop