// Copyright 2018 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include #include #if defined(DLL_TEST_DYN_LINK) # define EXPORT BOOST_SYMBOL_EXPORT #else # define EXPORT #endif EXPORT boost::shared_ptr dll_test() { return boost::shared_ptr( new int( 42 ) ); }