Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:31

0001 
0002 //          Copyright Oliver Kowalke 2009.
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //    (See accompanying file LICENSE_1_0.txt or copy at
0005 //          http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_COROUTINES_DETAIL_CONFIG_H
0008 #define BOOST_COROUTINES_DETAIL_CONFIG_H
0009 
0010 #include <boost/config.hpp>
0011 #include <boost/detail/workaround.hpp>
0012 
0013 #ifdef BOOST_COROUTINES_DECL
0014 # undef BOOST_COROUTINES_DECL
0015 #endif
0016 
0017 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES_DYN_LINK) ) && ! defined(BOOST_COROUTINES_STATIC_LINK)
0018 # if defined(BOOST_COROUTINES_SOURCE)
0019 #  define BOOST_COROUTINES_DECL BOOST_SYMBOL_EXPORT
0020 #  define BOOST_COROUTINES_BUILD_DLL
0021 # else
0022 #  define BOOST_COROUTINES_DECL BOOST_SYMBOL_IMPORT
0023 # endif
0024 #endif
0025 
0026 #if ! defined(BOOST_COROUTINES_DECL)
0027 # define BOOST_COROUTINES_DECL
0028 #endif
0029 
0030 #if ! defined(BOOST_COROUTINES_SOURCE) && ! defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_COROUTINES_NO_LIB)
0031 # define BOOST_LIB_NAME boost_coroutine
0032 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES_DYN_LINK)
0033 #  define BOOST_DYN_LINK
0034 # endif
0035 # include <boost/config/auto_link.hpp>
0036 #endif
0037 
0038 #define BOOST_COROUTINES_UNIDIRECT
0039 #define BOOST_COROUTINES_SYMMETRIC
0040 
0041 #if defined(__OpenBSD__)
0042 // stacks need mmap(2) with MAP_STACK
0043 # define BOOST_COROUTINES_USE_MAP_STACK
0044 #endif
0045 
0046 #endif // BOOST_COROUTINES_DETAIL_CONFIG_H