Ticket #4650: boost-thread-tss_null.patch
File boost-thread-tss_null.patch, 966 bytes (added by , 12 years ago) |
---|
-
thread/src/tss_null.cpp
8 8 9 9 #if defined(BOOST_HAS_WINTHREADS) && (defined(BOOST_THREAD_BUILD_LIB) || defined(BOOST_THREAD_TEST) || defined(UNDER_CE)) && (!defined(_MSC_VER) || defined(UNDER_CE)) 10 10 11 namespace boost 12 { 11 13 /* 12 14 This file is a "null" implementation of tss cleanup; it's 13 15 purpose is to to eliminate link errors in cases 14 16 where it is known that tss cleanup is not needed. 15 17 */ 16 18 17 extern "C"void tss_cleanup_implemented(void)19 void tss_cleanup_implemented(void) 18 20 { 19 21 /* 20 22 This function's sole purpose is to cause a link error in cases where … … 30 32 longer needed and can be removed. 31 33 */ 32 34 } 35 36 } 33 37 34 38 #endif //defined(BOOST_HAS_WINTHREADS) && defined(BOOST_THREAD_BUILD_LIB) && !defined(_MSC_VER)