diff options
Diffstat (limited to 'boost/type_erasure/detail/auto_link.hpp')
-rw-r--r-- | boost/type_erasure/detail/auto_link.hpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/boost/type_erasure/detail/auto_link.hpp b/boost/type_erasure/detail/auto_link.hpp new file mode 100644 index 0000000000..4f4392044b --- /dev/null +++ b/boost/type_erasure/detail/auto_link.hpp @@ -0,0 +1,38 @@ +// Boost.TypeErasure library +// +// Copyright 2015 Steven Watanabe +// +// 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) +// +// $Id$ + +#ifndef BOOST_TYPE_ERASURE_DETAIL_AUTO_LINK_HPP_INCLUDED +#define BOOST_TYPE_ERASURE_DETAIL_AUTO_LINK_HPP_INCLUDED + +#include <boost/config.hpp> + +#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TYPE_ERASURE_DYN_LINK) + #ifdef BOOST_TYPE_ERASURE_SOURCE + #define BOOST_TYPE_ERASURE_DECL BOOST_SYMBOL_EXPORT + #else + #define BOOST_TYPE_ERASURE_DECL BOOST_SYMBOL_IMPORT + #endif +#else + #define BOOST_TYPE_ERASURE_DECL +#endif + +#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TYPE_ERASURE_NO_LIB) && !defined(BOOST_TYPE_ERASURE_SOURCE) + + #define BOOST_LIB_NAME boost_type_erasure + + #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_TYPE_ERASURE_DYN_LINK) + #define BOOST_DYN_LINK + #endif + + #include <boost/config/auto_link.hpp> + +#endif + +#endif |