liuxiaolong
2021-07-20 232227035c8d6a31eaaf193863cbadda949c08fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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