Added BeOS threading support, tweeked STLPort detection.

[SVN r10235]
This commit is contained in:
John Maddock
2001-05-28 11:48:06 +00:00
parent 1444ac208f
commit 60659c5d84
2 changed files with 39 additions and 5 deletions

View File

@@ -307,7 +307,7 @@ full list of macros and their usage.
# endif
#endif
#if (defined(_REENTRANT) || defined(_PTHREADS)) && !defined(_NOTHREADS)
#if (defined(_REENTRANT) || defined(_PTHREADS) || defined(__BEOS__)) && !defined(_NOTHREADS)
//
// Several compilers define _REENTRANT or
// _PTHREADS when threading support is turned on:
@@ -967,7 +967,7 @@ public:
#undef wcsxfrm
#endif
#if defined(BOOST_NO_STDC_NAMESPACE) || (defined(std) && defined(__SGI_STL_PORT))
#if defined(BOOST_NO_STDC_NAMESPACE) || (defined(std) && defined(__SGI_STL_PORT)) || defined(_STLP_IMPORT_VENDOR_CSTD) || defined(__STL_IMPORT_VENDOR_CSTD)
//
// fix namespaces,
// note that we almost always do this for STLPort, as it doesn't always