annotate DEPENDENCIES/generic/include/boost/coroutine/detail/config.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1
Chris@16 2 // Copyright Oliver Kowalke 2009.
Chris@16 3 // Distributed under the Boost Software License, Version 1.0.
Chris@16 4 // (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6
Chris@16 7 #ifndef BOOST_COROUTINES_DETAIL_CONFIG_H
Chris@16 8 #define BOOST_COROUTINES_DETAIL_CONFIG_H
Chris@16 9
Chris@16 10 #include <boost/config.hpp>
Chris@16 11 #include <boost/detail/workaround.hpp>
Chris@16 12
Chris@16 13 #ifdef BOOST_COROUTINES_DECL
Chris@16 14 # undef BOOST_COROUTINES_DECL
Chris@16 15 #endif
Chris@16 16
Chris@16 17 #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES_DYN_LINK) ) && ! defined(BOOST_COROUTINES_STATIC_LINK)
Chris@16 18 # if defined(BOOST_COROUTINES_SOURCE)
Chris@16 19 # define BOOST_COROUTINES_DECL BOOST_SYMBOL_EXPORT
Chris@16 20 # define BOOST_COROUTINES_BUILD_DLL
Chris@16 21 # else
Chris@16 22 # define BOOST_COROUTINES_DECL BOOST_SYMBOL_IMPORT
Chris@16 23 # endif
Chris@16 24 #endif
Chris@16 25
Chris@16 26 #if ! defined(BOOST_COROUTINES_DECL)
Chris@16 27 # define BOOST_COROUTINES_DECL
Chris@16 28 #endif
Chris@16 29
Chris@16 30 #if ! defined(BOOST_COROUTINES_SOURCE) && ! defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_COROUTINES_NO_LIB)
Chris@16 31 # define BOOST_LIB_NAME boost_coroutine
Chris@16 32 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_COROUTINES_DYN_LINK)
Chris@16 33 # define BOOST_DYN_LINK
Chris@16 34 # endif
Chris@16 35 # include <boost/config/auto_link.hpp>
Chris@16 36 #endif
Chris@16 37
Chris@16 38 #if defined(BOOST_USE_SEGMENTED_STACKS)
Chris@101 39 # if ! ( (defined(__GNUC__) && __GNUC__ > 3 && __GNUC_MINOR__ > 6) || \
Chris@101 40 (defined(__clang__) && __clang_major__ > 2 && __clang_minor__ > 3) )
Chris@16 41 # error "compiler does not support segmented stacks"
Chris@16 42 # endif
Chris@16 43 # define BOOST_COROUTINES_SEGMENTS 10
Chris@16 44 #endif
Chris@16 45
Chris@101 46 #define BOOST_COROUTINES_UNIDIRECT
Chris@101 47 #define BOOST_COROUTINES_SYMMETRIC
Chris@16 48
Chris@16 49 #endif // BOOST_COROUTINES_DETAIL_CONFIG_H