1
2// Copyright Oliver Kowalke 2014.
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)
6
7#ifndef BOOST_COROUTINES2_DETAIL_CONFIG_H
8#define BOOST_COROUTINES2_DETAIL_CONFIG_H
9
10#include <boost/config.hpp>
11#include <boost/context/detail/config.hpp>
12#include <boost/detail/workaround.hpp>
13
14#ifdef BOOST_COROUTINES2_DECL
15# undef BOOST_COROUTINES2_DECL
16#endif
17
18#if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES2_DYN_LINK) ) && ! defined(BOOST_COROUTINES2_STATIC_LINK)
19# if defined(BOOST_COROUTINES2_SOURCE)
20# define BOOST_COROUTINES2_DECL BOOST_SYMBOL_EXPORT
21# else
22# define BOOST_COROUTINES2_DECL BOOST_SYMBOL_IMPORT
23# endif
24#endif
25
26#if ! defined(BOOST_COROUTINES2_DECL)
27# define BOOST_COROUTINES2_DECL
28#endif
29
30#endif // BOOST_COROUTINES2_DETAIL_CONFIG_H
31

source code of boost/libs/coroutine2/include/boost/coroutine2/detail/config.hpp