* Changed BOOST_RE_THREADS to BOOST_HAS_THREADS,

* Updated allocator code to use SGI node based allocator when available.


[SVN r11829]
This commit is contained in:
John Maddock
2001-11-30 11:58:04 +00:00
parent 0bd54d3821
commit 7104418bd5

View File

@ -189,13 +189,13 @@ typedef lock_guard<critical_section> 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