Ticket #4650: boost-thread-tss_null.patch

File boost-thread-tss_null.patch, 966 bytes (added by DaveDeakins, 12 years ago)
  • thread/src/tss_null.cpp

     
    88
    99#if defined(BOOST_HAS_WINTHREADS) && (defined(BOOST_THREAD_BUILD_LIB) || defined(BOOST_THREAD_TEST) || defined(UNDER_CE)) && (!defined(_MSC_VER) || defined(UNDER_CE))
    1010
     11namespace boost
     12{
    1113    /*
    1214    This file is a "null" implementation of tss cleanup; it's
    1315    purpose is to to eliminate link errors in cases
    1416    where it is known that tss cleanup is not needed.
    1517    */
    1618
    17     extern "C" void tss_cleanup_implemented(void)
     19    void tss_cleanup_implemented(void)
    1820    {
    1921        /*
    2022        This function's sole purpose is to cause a link error in cases where
     
    3032        longer needed and can be removed.
    3133        */
    3234    }
     35       
     36}
    3337
    3438#endif //defined(BOOST_HAS_WINTHREADS) && defined(BOOST_THREAD_BUILD_LIB) && !defined(_MSC_VER)