mirror of
https://github.com/boostorg/thread.git
synced 2026-01-24 18:32:32 +00:00
Add automatic tss cleanup to statically linked Win32 Boost.Threads library (currently works only for VC++ 7.1).
[SVN r24235]
This commit is contained in:
@@ -176,6 +176,13 @@
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
#elif defined(BOOST_THREAD_BUILD_LIB)
|
||||
#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1310) //1310 == VC++ 7.1
|
||||
//As currently defined, the following is known
|
||||
//to work only for VC++ 7.1.
|
||||
//It is known not to work with VC 6.
|
||||
#include <libs/thread/src/pe_tls.ipp>
|
||||
#endif
|
||||
#endif // BOOST_THREAD_BUILD_DLL
|
||||
#endif // BOOST_HAS_WINTHREADS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user