2 // Copyright Oliver Kowalke 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_FIBERS_DETAIL_CONFIG_H
8 #define BOOST_FIBERS_DETAIL_CONFIG_H
10 #include <boost/config.hpp>
11 #include <boost/detail/workaround.hpp>
13 #ifdef BOOST_FIBERS_DECL
14 # undef BOOST_FIBERS_DECL
17 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FIBERS_DYN_LINK) ) && ! defined(BOOST_FIBERS_STATIC_LINK)
18 # if defined(BOOST_FIBERS_SOURCE)
19 # define BOOST_FIBERS_DECL BOOST_SYMBOL_EXPORT
20 # define BOOST_FIBERS_BUILD_DLL
22 # define BOOST_FIBERS_DECL BOOST_SYMBOL_IMPORT
26 #if ! defined(BOOST_FIBERS_DECL)
27 # define BOOST_FIBERS_DECL
30 #if ! defined(BOOST_FIBERS_SOURCE) && ! defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_FIBERS_NO_LIB)
31 # define BOOST_LIB_NAME boost_fiber
32 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FIBERS_DYN_LINK)
33 # define BOOST_DYN_LINK
35 # include <boost/config/auto_link.hpp>
38 #endif // BOOST_FIBERS_DETAIL_CONFIG_H