]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/coroutine/include/boost/coroutine/detail/config.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / coroutine / include / boost / coroutine / detail / config.hpp
1
2 // Copyright Oliver Kowalke 2009.
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_COROUTINES_DETAIL_CONFIG_H
8 #define BOOST_COROUTINES_DETAIL_CONFIG_H
9
10 #include <boost/config.hpp>
11 #include <boost/detail/workaround.hpp>
12
13 #ifndef BOOST_COROUTINES_NO_DEPRECATION_WARNING
14 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
15 # pragma message ("Warning: Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To disable this warning message, define BOOST_COROUTINES_NO_DEPRECATION_WARNING.")
16 # elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
17 # warning "Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To disable this warning message, define BOOST_COROUTINES_NO_DEPRECATION_WARNING."
18 # endif
19 #endif
20
21 #ifdef BOOST_COROUTINES_DECL
22 # undef BOOST_COROUTINES_DECL
23 #endif
24
25 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES_DYN_LINK) ) && ! defined(BOOST_COROUTINES_STATIC_LINK)
26 # if defined(BOOST_COROUTINES_SOURCE)
27 # define BOOST_COROUTINES_DECL BOOST_SYMBOL_EXPORT
28 # define BOOST_COROUTINES_BUILD_DLL
29 # else
30 # define BOOST_COROUTINES_DECL BOOST_SYMBOL_IMPORT
31 # endif
32 #endif
33
34 #if ! defined(BOOST_COROUTINES_DECL)
35 # define BOOST_COROUTINES_DECL
36 #endif
37
38 #if ! defined(BOOST_COROUTINES_SOURCE) && ! defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_COROUTINES_NO_LIB)
39 # define BOOST_LIB_NAME boost_coroutine
40 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES_DYN_LINK)
41 # define BOOST_DYN_LINK
42 # endif
43 # include <boost/config/auto_link.hpp>
44 #endif
45
46 #define BOOST_COROUTINES_UNIDIRECT
47 #define BOOST_COROUTINES_SYMMETRIC
48
49 #endif // BOOST_COROUTINES_DETAIL_CONFIG_H