#ifndef BOOST_ASIO_LINKAGE_FIX_H #define BOOST_ASIO_LINKAGE_FIX_H #include #include #include namespace boost { namespace asio { namespace detail { /** EXPLANATION: * Extern declaration of the template instantiation * This ensures that the .o translation units don't have their * own copies of `call_stack<>::top_` defined in them. */ extern template tss_ptr::context> call_stack::top_; } // namespace detail } // namespace asio } // namespace boost #endif // BOOST_ASIO_LINKAGE_FIX_H