|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66142 - trunk/libs/thread/src
From: anthony_at_[hidden]
Date: 2010-10-22 05:58:35
Author: anthonyw
Date: 2010-10-22 05:58:33 EDT (Fri, 22 Oct 2010)
New Revision: 66142
URL: http://svn.boost.org/trac/boost/changeset/66142
Log:
Fix for #4650 --- put tss_cleanup_implemented in the boost namespace
Text files modified:
trunk/libs/thread/src/tss_null.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
Modified: trunk/libs/thread/src/tss_null.cpp
==============================================================================
--- trunk/libs/thread/src/tss_null.cpp (original)
+++ trunk/libs/thread/src/tss_null.cpp 2010-10-22 05:58:33 EDT (Fri, 22 Oct 2010)
@@ -8,13 +8,15 @@
#if defined(BOOST_HAS_WINTHREADS) && (defined(BOOST_THREAD_BUILD_LIB) || defined(BOOST_THREAD_TEST) || defined(UNDER_CE)) && (!defined(_MSC_VER) || defined(UNDER_CE))
+namespace boost
+{
/*
This file is a "null" implementation of tss cleanup; it's
purpose is to to eliminate link errors in cases
where it is known that tss cleanup is not needed.
*/
- extern "C" void tss_cleanup_implemented(void)
+ void tss_cleanup_implemented(void)
{
/*
This function's sole purpose is to cause a link error in cases where
@@ -30,5 +32,7 @@
longer needed and can be removed.
*/
}
+
+}
#endif //defined(BOOST_HAS_WINTHREADS) && defined(BOOST_THREAD_BUILD_LIB) && !defined(_MSC_VER)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk