diff options
Diffstat (limited to 'boost/context/detail/config.hpp')
-rw-r--r-- | boost/context/detail/config.hpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/boost/context/detail/config.hpp b/boost/context/detail/config.hpp new file mode 100644 index 0000000000..50ada3c507 --- /dev/null +++ b/boost/context/detail/config.hpp @@ -0,0 +1,42 @@ + +// Copyright Oliver Kowalke 2009. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_CTX_DETAIL_CONFIG_H +#define BOOST_CTX_DETAIL_CONFIG_H + +#include <boost/config.hpp> +#include <boost/detail/workaround.hpp> + +#ifdef BOOST_CONTEXT_DECL +# undef BOOST_CONTEXT_DECL +#endif + +#if defined(BOOST_HAS_DECLSPEC) +# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CONTEXT_DYN_LINK) +# if ! defined(BOOST_DYN_LINK) +# define BOOST_DYN_LINK +# endif +# if defined(BOOST_CONTEXT_SOURCE) +# define BOOST_CONTEXT_DECL BOOST_SYMBOL_EXPORT +# else +# define BOOST_CONTEXT_DECL BOOST_SYMBOL_IMPORT +# endif +# endif +#endif + +#if ! defined(BOOST_CONTEXT_DECL) +# define BOOST_CONTEXT_DECL +#endif + +#if ! defined(BOOST_CONTEXT_SOURCE) && ! defined(BOOST_ALL_NO_LIB) && ! defined(BOOST_CONTEXT_NO_LIB) +# define BOOST_LIB_NAME boost_context +# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CONTEXT_DYN_LINK) +# define BOOST_DYN_LINK +# endif +# include <boost/config/auto_link.hpp> +#endif + +#endif // BOOST_CTX_DETAIL_CONFIG_H |